Is it possible to get following settings via the API?
To find your Regions using the consoleOpen the Amazon EC2 console at https://console.aws.amazon.com/ec2/ . From the navigation bar, choose the Regions selector. Your EC2 resources for this Region are displayed on the EC2 Dashboard in the Resources section.
If you signed up for an AWS account on or after May 17, 2017, the default Region when you access a resource from the AWS Management Console is US East (Ohio) (us-east-2); for older accounts, the default Region is either US West (Oregon) (us-west-2) or US East (N. Virginia) (us-east-1).
In the navigation bar choose your account name and then choose Settings to navigate to the Unified Settings page. Choose Edit next to Localization and default Region. Select your default Region, then choose Save changes.
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;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With