Skip to content

Instantly share code, notes, and snippets.

@bronumski
Created January 8, 2015 19:36
Show Gist options
  • Save bronumski/d393800f9af2fd78835c to your computer and use it in GitHub Desktop.
Save bronumski/d393800f9af2fd78835c to your computer and use it in GitHub Desktop.
Get Assembly File Version
Assembly assembly = Assembly.GetExecutingAssembly();
FileVersionInfo fvi = FileVersionInfo.GetVersionInfo(assembly.Location);
string version = fvi.FileVersion;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment