public static GetProductVersion ( this assembly ) : System.Version | ||
assembly | this | |
return | System.Version |
public static Version GetProductVersion(this Assembly assembly)
{
var info = FileVersionInfo.GetVersionInfo(assembly.Location);
return new Version(info.ProductVersion);
}