Csharp/C Sharp by API/System.Globalization/RegionInfo
new RegionInfo(String info)
using System;
using System.Globalization;
public class MainClass
{
static void Main() {
RegionInfo ri = new RegionInfo("x-en-US-metric");
Console.WriteLine( ri.IsMetric );
}
}