By using Reflection on the currently running assembly:-
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version
The Version property is a System.Version so you can get the major, minor etc
components separately from the appropriate properties, or just display the
entire version as a string.
Peter
--
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com |
www.opennetcf.org
"Andrew" <(E-Mail Removed)> wrote in message
news:055b01c3a9eb$50e3c920$(E-Mail Removed)...
> How can I get the version of an application?
>
> Thanks