Given an Assembly a, use a.GetName().Version.ToString() to get the version in code.
GetName returns an AssemblyName.
The version returns the version as specified in your AssemblyInfo file.
Given an Assembly a, use a.GetName().Version.ToString() to get the version in code.
GetName returns an AssemblyName.
The version returns the version as specified in your AssemblyInfo file.