Is there a specific culture setting that governs how the ProductVersion
string is delimited and that can be set through the CultureInfo
class?
For example, using the following line on a Windows 10 PC, with the region set to English (South Africa), the ProductVersion
string is returned as 1,2,3,4 instead of 1.2.3.4.
string version = FileVersionInfo.GetVersionInfo("myApp.exe").ProductVersion;
From my testing thus far, none of the NumberFormat
decimal separator options applies to the ProductVersion
.