How to get current regional settings in C#?

前端 未结 7 1661
独厮守ぢ
独厮守ぢ 2020-11-29 08:32

Normally you can get it by writing something like

CultureInfo currentCulture = Thread.CurrentThread.CurrentCulture;

But this way you can only ge

7条回答
  •  一整个雨季
    2020-11-29 09:00

    Try to find settings you want in SystemInformation class or look into WMI using the classes in System.Management/System.Diagnostics, you can use LINQ to WMI too

提交回复
热议问题