Get the current version of the Assembly
The following code snippet return the Version number of currently executing assembly -
static stringGetCurrentAssemblyVersionNumber() {
AssemblycurrentAssembly =
Assembly.GetExecutingAssembly();
returncurrentAssembly.FullName.Split(
new Char[] {
','} )[1]; }
Comments ()