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

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Microsof...', 1758209404, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Microsoft/dot-net/namespaces-classes/System/Globalization/RegionInfo(67): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78