public void FileVersionInfo_Chinese()
{
// NativeLibrary.dll (Chinese)
VerifyVersionInfo(Path.Combine(Directory.GetCurrentDirectory(), NativeLibraryFileName), new MyFVI()
{
Comments = "",
CompanyName = "A non-existent company",
FileBuildPart = 3,
FileDescription = "Here is the description of the native library.",
FileMajorPart = 9,
FileMinorPart = 9,
FileName = Path.Combine(Directory.GetCurrentDirectory(), NativeLibraryFileName),
FilePrivatePart = 3,
FileVersion = "9.9.3.3",
InternalName = "NativeLi.dll",
IsDebug = false,
IsPatched = true,
IsPrivateBuild = false,
IsPreRelease = true,
IsSpecialBuild = false,
Language = GetFileVersionLanguage(0x0004),//Chinese (Simplified)
Language2 = GetFileVersionLanguage(0x0804),//Chinese (Simplified, PRC) - changed, but not yet on all platforms
LegalCopyright = "None",
LegalTrademarks = "",
OriginalFilename = "NativeLi.dll",
PrivateBuild = "",
ProductBuildPart = 40,
ProductMajorPart = 20,
ProductMinorPart = 30,
ProductName = "I was never given a name.",
ProductPrivatePart = 50,
ProductVersion = "20.30.40.50",
SpecialBuild = "",
});
}