how to capture version number

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hello,

Can I get the version number of the application that is currently
running? I want to pass over the version number to a webservice and if it's
an old version throw an exception. Thanks in advance.

John
 
* "John said:
Can I get the version number of the application that is currently
running? I want to pass over the version number to a webservice and if it's
an old version throw an exception. Thanks in advance.

'System.Reflection.Assembly.GetExecutingAssembly().GetName().Version' or
'Application.ProductVersion'.
 
Herfried,

Thanks for the info

John

Herfried K. Wagner said:
'System.Reflection.Assembly.GetExecutingAssembly().GetName().Version' or
'Application.ProductVersion'.
 
Back
Top