22 April 2008

Version numbers in .NET?

'Version number of the program created by you:

System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString()

'Version number of the common language runtime:

System.Environment.Version.ToString()

'Version number of the operating system:

System.Environment.OSVersion.Version.ToString()

No comments: