Home All Groups Group Topic Archive Search About
Author
3 Jan 2007 3:10 PM
Lex
Is there a better way in .NET to get my applications File Version
information than calling GetFileVersionInfo().

I am using VS2005, C++.

Thanks

Author
3 Jan 2007 3:17 PM
Oliver Sturm
Hello Lex,

>Is there a better way in .NET to get my applications File Version
>information than calling GetFileVersionInfo().

If you want the version information of .NET assemblies, you can easily
query them from metadata - see this Code Project article for a nice
summary: http://www.codeproject.com/cs/files/VersionApp.asp

If you're talking about arbitrary DLLs, I believe the API call is the only
general purpose method to do this.


                Oliver Sturm

AddThis Social Bookmark Button