Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

39 lines
819 B
C#

using System.Diagnostics;
using System.Reflection;
[assembly: AssemblyProduct ("Product")]
[assembly: AssemblyCompany ("Company")]
[assembly: AssemblyDescription ("Description")]
[assembly: AssemblyCopyright ("Copyright")]
[assembly: AssemblyTrademark ("Trademark")]
[assembly: AssemblyVersion ("5.4.3.1")]
[assembly: AssemblyFileVersion ("8.9")]
class C
{
public static int Main ()
{
var loc = Assembly.GetExecutingAssembly ().Location;
var fv = FileVersionInfo.GetVersionInfo (loc);
if (fv.ProductName != "Product")
return 1;
if (fv.CompanyName != "Company")
return 2;
// if (fv.Comments != "Description")
// return 3;
if (fv.LegalCopyright != "Copyright")
return 4;
if (fv.LegalTrademarks != "Trademark")
return 5;
if (fv.ProductVersion != "8.9")
return 6;
return 0;
}
}