Version information from EXEs, DLLs, etc?

  • Thread starter Thread starter Homer J. Simpson
  • Start date Start date
H

Homer J. Simpson

Is there a nice set of .NET functions built into the framework to retrieve
file version information embedded in EXEs, DLLs, etc? I'm talking about the
strings such as Company, File Version, Copyright, Product Name, and so
on...which you normally see in the Version tab of an EXE's Properties dialog
box.

I used to do this with Win32's GetFileVersionInfo() C API.
 
Is there a nice set of .NET functions built into the framework to retrieve
file version information embedded in EXEs, DLLs, etc?

Yes, look at the FileVersionInfo class.


Mattias
 
You can use the FileVersionInfo class in the System.Diagnostics
namespace.
 
You can use the FileVersionInfo class in the System.Diagnostics namespace.

Exactly what I needed. Thanks.
 
Back
Top