Search notes:

System.Globalization.RegionInfo (class)

System.Globalization.RegionInfo contains counry and region related information.

Properties

CurrencyEnglishName, CurrencyNativeName Name of the currency used (in English and in the native language)
CurrencySymbol
CurrentRegion A static property that evaluates to a System.Globalization.RegionInfo object that represents the country and region used by the current thread.
DisplayName
EnglishName
GeoId The GeoID is a numerical value (int) that uniquely identifies a geographical region, country, city or location. (See Table of Geographical Locations)
IsMetric
ISOCurrencySymbol
Name Name or ISO 3166 two-letter country/region code
NativeName
ThreeLetterISORegionName The three-letter code defined in ISO 3166
ThreeLetterWindowsRegionName
TwoLetterISORegionName The two-letter code defined in ISO 3166

PowerShell example

$curReg = [System.Globalization.RegionInfo]::CurrentRegion
write-host $curReg.EnglishName
write-host $curReg.GeoId
write-host $curReg.IsMetric
write-host $curReg.Name

See also

System.Globalization.CultureInfo
Windows settings: Time & Language -> Region and language

Index