Getting Version attribute for displaying in the Application About Box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have entered the assembly version in the attribute AssemblyVersionAttribute of the AssemblyInfo.cs file

At runtime, I want to use the attribute AssemblyVersionAttribute to display the version of the assembly that I am executing

How is this possible

Can anybody please send a small code snippet or hyperlink

Thanks in advance

Regards
Vipul Pate
 
Assembly.GetExecutingAssembly().GetName().Version.Major | Minor | Revision |
Build

Then just format them into a string as required.

--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

Vipul Patel said:
Hi,

I have entered the assembly version in the attribute
AssemblyVersionAttribute of the AssemblyInfo.cs file.
At runtime, I want to use the attribute AssemblyVersionAttribute to
display the version of the assembly that I am executing.
 
Back
Top