I want to check current measurement units of OS and then set it to Metrics.
Thanks in advance!
Update:
I used following code in c#: Registry.SetValue(@"HKEY_CURRENT_USER\Control Panel\International", "iMeasuere", "0"); It sets registry value when I check by regedit but when I go back to Region and Language setting panel in OS I see that the Units system still is US and after that the registry key resets to "1"