Getting version information

  • Thread starter Thread starter Michael Kremser
  • Start date Start date
M

Michael Kremser

Hi NG!

In a "normal" Windows Forms application, I can get the current version
information with

Application.ProductVersion

but in CF that doesn't work. Can anyone give me a hint how to get this
information?

Thanks in advance!

Michael

--
How to contact me
~~~~~~~~~~~~~~~~~
directly via mail: remove the "NOTUSEABLE" and the point after it and
reverse the characters
via my portal: go to
http://great.dynu.com/tools/contact.4s?lang=de&ref=usenet
 
You could check the Version property from the primary assembly for your
application:
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version
 
Tim said:
You could check the Version property from the primary assembly for your
application:
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version

Thank you very much for this useful hint! That's working fine. :-)

Best regards,

Michael

--
How to contact me
~~~~~~~~~~~~~~~~~
directly via mail: remove the "NOTUSEABLE" and the point after it and
reverse the characters
via my portal: go to
http://great.dynu.com/tools/contact.4s?lang=de&ref=usenet
 
Back
Top