This is an attribute in the Assembly Manifest. You get to it by getting an
instance of the System.Reflection.Assembly class, using:
System.Reflection.Assembly assembly = Assembly.GetExecutingAssembly();
Then you get an Attribute from the assembly using the
Assembly.GetCustomAttributes method:
((System.Runtime.InteropServices.GuidAttribute)ass embly.GetCustomAttributes(
typeof(System.Runtime.InteropServices.GuidAttribut e),false)[0]).Value
Note that you can use this method to get any of the various attributes in
the Assembly, as long as you know the type of the attribute, and what member
of the class you want to get at.
--
HTH,
Kevin Spencer
Microsoft MVP
Bit Player
http://unclechutney.blogspot.com
A pea rants as candy be sieving.
"Ron M. Newman" <co**********@confideltial.comwrote in message
news:ul*************@TK2MSFTNGP02.phx.gbl...
Hi: How do I get the GUID string out of an assembly? (I have it loaded and
referenced from an Assembly obect).
-Ron