Project References - How do I get the DLL Version Numbers

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In my windows application, my project has references to many DLL's.

What I want to do is create an "about" form with a version info button. On
clicking this button, the user will be able to view a list of all the
referenced DLL's along with their respective version numbers.

Being a real rookie, I don't really know where to start.

Can anyone give me some idea's on how to do this.
 
Hi,

First of all, if you knw the reference dll that are used by your applcation
and you know where there are located, If your reference are not shared
betwenn deferent application they will be local or in the GAC

Based on that the first think to do is collecting the the list of library
file.
Then from each of those file, your are able to retrive the file version
number by using FIleIO framework class.

If you need more details on the assemblie information then you can use the
Reflexion name space where you will find function to get assemblie information

Hope it helps
serge
 
I want to create a dynamic list at runtime of all the DLL's referenced by my
project and to then find & display the DLL name & version number. I don't
want to have to manually code each DLL that I know is used, otherwise I will
have to revisit this code everytime a reference is added/deleted.

I have heard of reflection, but I am afraid I have no idea as to how to use
it. I will try reading up on it though.

In the meantime, can anyone tell me how I can create this list of referenced
DLL's?
 
Back
Top