Need to call COM component using reflection in .NET
- by Usman
I need to determine the COM component(unmanaged code) type and invoke the exposed interface's methods using reflection in C# at runtime.
First What member of "Type" tells that type is COM component and we can take CLSID at runtime? Is Type.COMObject?
I need to call methods of exposed interfaces as they called in unmanaged code using…