Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Country/Region name from windows phone 8

I have the screenshot

enter image description here

and I am intending to retrieve the country which should be "Nigeria". After going through the System.Globalization class, I found the code snippet below

System.Globalization.RegionInfo.CurrentRegion.EnglishName

But I am getting "United States", which is the "Regional Format" from the image above. Is there no way i can retrieve the Country/Region value settings?

like image 352
Sunday Okpokor Avatar asked Jul 16 '13 11:07

Sunday Okpokor


1 Answers

I know it's old, but maybe someone comes here looking for answer:

System.Globalization.RegionInfo.CurrentRegion.TwoLetterISORegionName
like image 143
user1503948 Avatar answered Nov 04 '22 04:11

user1503948