How to get the running exe File Version
C#, C# Language, Win Forms January 18th, 2007
Nice and simple, get the running assembly, get the AssemblyName details object, get the version property.
Assembly asm = Assembly.GetExecutingAssembly();
AssemblyName AssDetails = asm.GetName();
String versionAsString = AssDetails.Version.ToString();
Recent Comments