PC Review


Reply
Thread Tools Rate Thread

Application version

 
 
Andrew
Guest
Posts: n/a
 
      13th Nov 2003
How can I get the version of an application?

Thanks
 
Reply With Quote
 
 
 
 
Peter Foot [MVP]
Guest
Posts: n/a
 
      13th Nov 2003
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



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running framework version 2.0 application on version 3.0/3.5 Ashutosh Microsoft Dot NET Framework 11 12th Sep 2008 08:13 AM
no network connection and error: Faulting application , version 0.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x00000000 rduque41@gmail.com Windows XP Help 4 30th Nov 2006 03:25 PM
no network connection and error: Faulting application , version 0.0.0.0, faulting module unknown, version 0.0.0.0, fault address 0x00000000 rduque41@gmail.com Windows XP General 1 30th Nov 2006 02:40 PM
Application Fails to Open Because Another Application is modifying WIN32 version Functions. John Diener Windows XP Help 2 24th Jun 2004 08:25 PM
Faulting application powercalc.exe, version 0.0.0.0, faulting module ntdll.dll, version 5.1.2600.1217, fault address 0x000080db Dmitriy Kopnichev Windows XP Basics 1 14th Aug 2003 10:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:14 PM.