I have a need to use licensed COM components in my C# .NET application. It appears that the .NET components correctly call the IClassFactory2 interface in that running the COM components from .NET with the .lic file available works fine. However, I can't seem to figure out how to store the appropriate runtime license information so that I don't have to distribute the .lic files with my components. I found your email on a post at DevelopMentor and was wondering if you could help me.
In addition, I have a need to go the other way and provide licensed .NET components to COM. Again, if I write a VB6 component and consume a .NET licensed component, everything works as long as I have the .lic file available. However, VB doesn't seem to cache the runtime license like it does with a VC6 component. It looks like the problem may be that the default .NET provider doesn't support the design/runtime license model (although it appears to work if I create both client and server in .NET). Anyone have an idea (an example would be perfect) on doing this? -Mario Fulan Microsoft Consulting Services You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.