The following code snippet return the Version number of currently executing assembly –
static string GetCurrentAssemblyVersionNumber() { Assembly currentAssembly = Assembly.GetExecutingAssembly(); return currentAssembly.FullName.Split( new Char [] {','} )[1]; }