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

  • Thread starter Thread starter Alvaro E. Gonzalez
  • Start date Start date
A

Alvaro E. Gonzalez

Hi;

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

Tks.

Alvaro
 
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
 

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