how to obtain regional settings

  • Thread starter Thread starter Emby
  • Start date Start date
E

Emby

Is there a way in the .NET framework to determine Windows Regional Settings?
Items like Dimensions (CM or Inches), decimal symbol, digit grouping symbol,
time formats, date formats, etc.

I've done some digging, but come up empty.

Thanks
 
OK, I found it in System.Globalizaion (duh!):
NumberFormatInfo.NumberDecimalSeparator, for the decimal symbol
NumberFormatInfo.NumberGroupSeparator, for the digit grouping symbol
RegionInfo.IsMetric, for CM (metric) versus Inches

Cheers
 
Back
Top