How toknow the version of a DLL file without loadin

  • Thread starter Thread starter cnu
  • Start date Start date
C

cnu

Hi,
I have developed a dll program. I have added a Strong Key
Name to it and registered in C:\WINNT\Assembly\.

In some of my programs, I include this in my project
references and it works. All is well so far. But, I want
to find out the version of this particular dll, with out
loading or adding it to my project references. How can I
accomplish this?

Any help in this regard is highly appreciated!

Regards..
KADIYALA SRINIVAS
 
But, I want
to find out the version of this particular dll, with out
loading or adding it to my project references. How can I
accomplish this?

If you know its path you can use
AssemblyName.GetAssemblyName(@"x:\the.dll").Version



Mattias
 
Back
Top