Is it possible to get following settings via the API?
- First day of week
- Region format
- Display language
- System locate
Is it possible to get following settings via the API?
You can use CultureInfo.CurrentCulture
and CultureInfo.CurrentUICulture
to find the system culture and language settings respectively. The rest of the information (first day of week etc) is within there, I believe - for example:
DayOfWeek firstDayOfWeek = CultureInfo.CurrentCulture
.DateTimeFormat
.FirstDayOfWeek;