GUID of DLL

  • Thread starter Thread starter Dennis
  • Start date Start date
D

Dennis

I can't seem to find the trick to finding the GUID of a VB.Net DLL from
my application. Is this possible?

TIA,
 
Try a.GetCustomAttributes(GetType(Runtime.InteropServices.GuidAttribute),
False) with a being the assembly for which you want the GUID.

You may want to explain what you are trying to do so that we are sure which
GUID you are talking about (the one used by COM visible assemblies ?) and in
case someone would have an alternate way to achieve your overall goal...

Thanks, that did what I want. I am looking for a way to uniquely
identify the DLL ... obviously. I just couldn't find where MS hid the
damn thing!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top