Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

43 lines
902 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")]
[assembly: AssemblyTitle ("Title")]
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;
if (fv.FileDescription != "Title")
return 7;
return 0;
}
}