How to find out the "GUID" of installed assembly?

  • Thread starter Thread starter Alvaro E. Gonzalez
  • Start date Start date
Two ways:

theAssembly.GetCustomAttributes(GetType(GuidAttribute))
or
Marshal.GetTypeLibGuidForAssembly(theAssembly)

- John Fullmer
 
Mattias,

I'm developing an application that loads data from database Oracle and to SqlServer.

For the obtaining of data from database Oracle, I'm using the assembly Oracle.DataAccess.DLL that is to driver for oracle and must be installed like requirement of my application.

In setup project I'm adding a "Launch Condition" and require ComponentId (GUID) of Oracle.DataAccess.DLL like valid value of the condition.

Alvaro

Mattias Sjögren wrote:

Alvaro,



How to find out the "GUID" of installed assembly?



Which GUID do you have in mind, and what do you need it for? Mattias
 
Back
Top