How to extract a GUID from a Win32 DLL or OCX
- by Paul Sasik
We have a .NET app that needs to examine a folder that may contain COM libraries (DLL and OCX.) When we do encounter a COM library one thing we need to accomplish is to extract the GUID from the COM DLL or OCX.
Is there a straightforward way to do this with .NET without using 3rd party libraries?