

Reflector provides a number of important pieces of information for Interop. Here's a view of Reflector with the X509Store class open and selected: It can also load assemblies from the GAC and by default it loads up a number of common. Using Reflector basically allows you to point at any DLL on disk and show all the contained types and resources that are available. All the features described here work in 6.x although I'm using version 7. NET Reflector.NET Reflector is free up to version 6.8 and a relatively cheap tool for all that it provides from version 7.0 forward. My favorite tool to do this is Red Gate's. NET component of your own being able to look up exact type names is critical if you do. Regardless of whether you're using a system component or custom. NET disassembling tool that provides insight into a. How the heck do you figure out all those type names used in this code?Īnswer: You use a. GetPropertyEx ( loCertificate, "IssuerName.Name" ) GetPropertyEx ( loStore, "Certificates" ) *** Collections don't work over regular COM Interop *** Open the certificate store - results into loStore.Certificates GetEnumvalue ( " 509Certificates.OpenFlags", "ReadOnly" ) CreateInstance ( " 509Certificates.X509Store" )

LoBridge = CreateObject ( "wwDotNetBridge", "V4" ) NET type names used in this small snippet in bold: do wwDotNetBridge
SERIAL NUMBER FOR NET REFLECTOR CODE
NET typename which includes the namespace and class name.įor example check out this code that loops through personal certificate store on the local machine using wwDotnetBridge. FoxPro code in either case must reference the full. Whether you're using plain COM Interop or the richer functionality offered by wwDotnetBridge, you probably already know that finding the approriate. So you're doing a bunch of COM Interop with.
