假设我调用System::Diagnostics::FileVersionInfo::GetVersionInfo("foo")
file foo.exe
,但它foo.exe
有多个版本信息,一个是Japanese
,一个是English (US)
,另一个是Neutral
。
我如何知道我的程序将检索哪些版本信息?.NET 是否有特定的行为来选择具有正确语言环境的版本信息?此行为是否取决于系统语言环境或调用该方法的程序的语言环境?
假设我调用System::Diagnostics::FileVersionInfo::GetVersionInfo("foo")
file foo.exe
,但它foo.exe
有多个版本信息,一个是Japanese
,一个是English (US)
,另一个是Neutral
。
我如何知道我的程序将检索哪些版本信息?.NET 是否有特定的行为来选择具有正确语言环境的版本信息?此行为是否取决于系统语言环境或调用该方法的程序的语言环境?
I've pinpointed it to a Windows API function called GetFileVersionInfo:
Currently, it is querying fixed version from language neutral file (exe/dll) and the non-fixed part from mui file, merges them and returns to the user. If the given binary does not have a mui file then behavior is as in previous version.
I'm not sure what the "previous version" is referring to, but I am assuming that the file description and such are also taken from the neutral version info.