Walter.BOM Namespace
Walter.Web.FireWall Namespace
ASP-WAF Web application firewall for .Net 6, .Net 5, .Net Standard 2.1 and .Net Core 3.x

GeoLocation Enumeration

geographical regions represented as countries and regions

Namespace:  Walter.BOM.Geo
Assembly:  Walter.BOM (in Walter.BOM.dll)

Syntax


public enum GeoLocation

Members


Member nameDescription
ALL All
UnKnown Unknown region or not supported by provider
Afghanistan Afghanistan
AlandIslands Aland islands (Åland islands, is an autonomous region of Finland Comprising around 6,700 islands)
Albania The Republic of Albania
Algeria The People's Democratic Republic of Algeria
AmericanSamoa The Territory of American Samoa
Andorra The Principality of Andorra
Angola The Republic of Angola
Anguilla Anguilla
Antarctica Antarctica
AntiguaAndBarbuda Antigua and Barbuda
Argentina The Argentine Republic
Armenia The Republic of Armenia
Aruba Aruba
Australia Australia
Austria Austria
Azerbaijan Azerbaijan
Bahamas The Bahamas
Bahrain Bahrain
Bangladesh Bangladesh
Barbados Barbados
Belarus Belarus
Belgium Belgium
Belize Belize
Benin Benin
Bermuda Bermuda
Bhutan Bhutan
Bolivia Bolivia
Bonaire Bonaire
BosniaHerzegovina Bosnia Herzegovina
Botswana Botswana
Brazil Brazil
BRITISH_INDIAN_OCEAN_TERRITORY The British Indian Ocean Territory
Brunei Brunei
Bulgaria Bulgaria
BurkinaFaso Burkina Faso
Burundi Burundi
CaboVerde Cabo Verde
Cambodia Cambodia
Cameroon Cameroon
Canada Canada
CaymanIslands Cayman Islands
CentralAfricanRepublic The Central African Republic
Chad The Chad
Chile The Chile
China The china
ChristmasIsland Christmas Island/Christmas (l'Île)
CocosIsland Cocos (Keeling) Islands
Colombia The Colombia
Comoros The Comoros
RepCongo the Republic of the Congo
Congo Democratic republic of the Congo
CookIslands The cook islands
CostaRica The Costa Rica
CoteDivoire Cote D'Ivoire (ivory coast)
Croatia Croatia
Cuba Cuba
Curacao Curacao
Cyprus Cyprus
CzechRepublic Czech republic
Denmark Denmark
Djibouti Djibouti
Dominica Dominica
DominicanRepublic Dominican republic
Ecuador Ecuador
Egypt Egypt
ElSalvador El Salvador
EquatorialGuinea Equatorial guinea
Eritrea Eritrea
Estonia Estonia
Eswatini Eswatini
Ethiopia Ethiopia
FalklandIslands Falkland islands
FaroeIslands Faroe islands
Fiji Fiji
Finland Finland
France France
FrenchGuiana French Guiana
FrenchPolynesia French Polynesia
Gabon Gabon
Gambia Gambia
Georgia Georgia
Germany Germany
Ghana Ghana
Gibraltar Gibraltar
Greece Greece
Greenland Greenland
Grenada Grenada
Guadeloupe Guadeloupe
Guam Guam
Guatemala Guatemala
Guernsey Guernsey
Guinea Guinea
GuineaBissau Guinea Bissau
Guyana Guyana
Haiti Haiti
HolySee Holy see (Vatican)
Honduras Honduras
HongKong Hong Kong
Hungary Hungary
Iceland Iceland
India India
Indonesia Indonesia
Iran Iran
Iraq Iraq
Ireland Ireland
IsleofMan Isle of Aan
Israel Israel
Italy Italy
Jamaica Jamaica
Japan Japan
Jersey Jersey
Jordan Jordan
Kazakhstan Kazakhstan
Kenya Kenya
Kiribati Kiribati
NorthKorea North Korea
SouthKorea South Korea
Kuwait Kuwait
Kyrgyzstan Kyrgyzstan
Lao Lao
Latvia Latvia
Lebanon Lebanon
Lesotho Lesotho
Liberia Liberia
Libya Libya
Liechtenstein Liechtenstein
Lithuania Lithuania
Luxembourg Luxembourg
Macao Macao
Madagascar Madagascar
Malawi Malawi
Malaysia Malaysia
Maldives Maldives
Mali Mali
Malta Malta
MarshallIslands Marshall islands
Martinique Martinique
Mauritania Mauritania
Mauritius Mauritius
Mayotte Mayotte
Mexico Mexico
Micronesia Micronesia
Moldova Moldova
Monaco Monaco
Mongolia Mongolia
Montenegro Montenegro
Montserrat Montserrat
Morocco Morocco
Mozambique Mozambique
Myanmar Myanmar
Namibia Namibia
Nauru Nauru
Nepal Nepal
Netherlands Netherlands
NewCaledonia Caledonia.
NewZealand New Zealand.
Nicaragua Nicaragua
Niger Niger
Nigeria Nigeria
Niue Niue
NorfolkIsland Norfolk island
NorthMacedonia North Macedonia
NorthernMarianaIslands Northern Mariana islands
Norway Norway
Oman Oman
Pakistan Pakistan
Palau Palau
Palestine Palestine
Panama Panama
PapuaNewGuinea Papua new guinea
Paraguay Paraguay
Peru Peru
Philippines Philippines
Poland Poland
Portugal Portugal
PuertoRico Puerto Rico
Qatar Qatar
Reunion Reunion
Romania Romania
RussianFederation Russian federation
Rwanda Rwanda
SaintBarthelemy Saint Barthélemy
SaintKittsAndNevis Saint Kitts and Nevis
SaintLucia Saint Lucia
SaintMartin Saint Martin
SaintPierreAndMiquelon Saint Pierre and miquelon
SaintVincentandTheGrenadines Saint Vincent and the Grenadines
Samoa Samoa
SanMarino San Marino
SaoTomeAndPrincipe Sao Tome and Principe
SaudiArabia Saudi Arabia
Senegal Senegal
Serbia Serbia
Seychelles The Seychelles
SierraLeone The Sierra Leone
Singapore Singapore
SintMaarten Sint Maarten
Slovakia Slovakia
Slovenia Slovenia
SolomonIslands Solomon islands
Somalia Somalia
SouthAfrica South Africa
SouthSudan South Sudan
Spain Spain
SriLanka Sri Lanka
Sudan Sudan
Suriname Suriname
Sweden Sweden
Switzerland Switzerland
Syrian Syrian
Taiwan Taiwan
Tajikistan Tajikistan
Tanzania Tanzania
Thailand Thailand
TimorLeste Timor Leste (East Timor)
Togo Togo
Tokelau Tokelau
Tonga Tonga
TrinidadAndTobago Trinidad and Tobago
Tunisia Tunisia
Turkey Turkey
Turkmenistan Turkmenistan
TurksAndCaicos Turks and Caicos
Tuvalu Tuvalu
Uganda Uganda
Ukraine Ukraine
UnitedArabEmirates The United Arab Emirates (UAE)
UnitedKingdom The United Kingdom
UnitedStates The United States
UnitedStatesOutlyingIslands The United states outlying islands (Baker Island, Howland Island, Jarvis Island, Johnston Atoll, Kingman Reef, Midway Atoll, Palmyra Atoll, and Wake Island, Navassa Island.)
Uruguay Uruguay
Uzbekistan Uzbekistan
Vanuatu Vanuatu
Venezuela Venezuela
VietNam Viet Nam
VirginIslandsBritish British Virgin Islands
VirginIslandsUS The virgin islands (United States)
WallisAndFutuna Wallis and Futuna
Yemen Yemen
Zambia Zambia
Zimbabwe Zimbabwe
OCEANIA The Oceania definition covers Australia | Fiji | FrenchPolynesia | Guam | Kiribati | MarshallIslands | Micronesia | NewCaledonia | NewZealand | PapuaNewGuinea | Samoa | SolomonIslands | Tonga | Vanuatu
MIDDLE_EAST The middle east definition covers = Bahrain | Iraq | Iraq | Israel | Jordan | Kuwait | Lebanon | Oman | Palestine | Qatar | SaudiArabia | Syrian | Yemen
EUROPEAN_UNION The European union covers Austria| Aland Islands | Belgium | Bulgaria | Cyprus | CzechRepublic | Denmark | Estonia | Finland | France | Germany | Greece | Hungary | Ireland | Italy | Latvia | Lithuania | Luxembourg | Malta | Netherlands | Poland | Portugal | Romania | Slovakia | Slovenia | Spain | Sweden
EUROPE Europe covers EUROPEAN_UNION | Albania | Andorra | Belarus | BosniaHerzegovina | Croatia | FaroeIslands | Gibraltar | Guernsey | Iceland | Jersey | Liechtenstein | Moldova | Monaco | Montenegro | Norway | RussianFederation | SanMarino | Serbia | Switzerland | Turkey | Ukraine
EASTERN_EUROPE The eastern Europe covers Belarus | Ukraine | RussianFederation | Romania | Georgia | Moldova | Armenia | Azerbaijan
BALTIC_STATES The Baltic states covers Estonia | Latvia | Lithuania
CENTRAL_EUROPE The central Europe covers Austria | CzechRepublic | Croatia | Hungary | Poland | Serbia | Slovakia | Slovenia
WESTERN_EUROPE Western Europe covers EUROPEAN_UNION | Andorra | FaroeIslands | Gibraltar | Guernsey | Iceland | Jersey | Liechtenstein | Monaco | Norway | Switzerland, United Kingdom
ASIA Asia covers Afghanistan | Armenia | Azerbaijan | Bangladesh | Bhutan | Brunei | Cambodia | China | Georgia | HongKong | India | Indonesia | Japan | Kazakhstan | NorthKorea | SouthKorea | Kyrgyzstan | Lao | Macao | Malaysia | Maldives | Mongolia | Myanmar | Nepal | Pakistan | Philippines | Singapore | SriLanka | Taiwan | Tajikistan | Thailand | TimorLeste | Turkmenistan | Uzbekistan | VietNam
NORTH_AMERICA North America covers Bermuda | Canada | Greenland | Saint Pierre and Miquelon | United States
SOUTH_AMERICA South America contains Argentina | Bolivia | Brazil | Chile | Colombia | Ecuador | Falkland Islands | French Guiana | Paraguay | Peru | Suriname | Uruguay | Venezuela
CENTRAL_AMERICA Central America covers Belize | CostaRica | ElSalvador | Guatemala | Honduras | Nicaragua | Panama
LATIN_AMERICA Latin America covers SOUTH_AMERICA | CENTRAL_AMERICA
CARIBBEAN The Caribbean covers Anguilla | AntiguaAndBarbuda | Aruba | Bahamas | Barbados | Bonaire | VirginIslandsBritish | CaymanIslands | Cuba | Curacao | Dominica | Dominican Republic | Grenada | Guadeloupe | Haiti | Jamaica | Martinique | Montserrat | Puerto Rico | Saint Barthelemy | Saint Kitts and Nevis | SaintLucia | Saint Martin | Trinidad And Tobago | Turks and Caicos | US Virgin Islands
THE_AMERICAS The Americas covers NORTH_AMERICA | LATIN_AMERICA | CARIBEAN
WESTER_AFRICA Wester Africa covers Benin | BurkinaFaso | CaboVerde | CoteDivoire | Gambia | Ghana | Guinea | GuineaBissau | Liberia | Mali | Mauritania | Niger | Senegal | SierraLeone | Togo
SOUTH_AFRICA South Africa covers Botswana | Eswatini | Lesotho | Namibia | South Africa
NORTH_AFRICA North Africa covers Algeria | Egypt | Libya | Morocco | SouthSudan | Sudan | Tunisia | Mauritania
MIDDLE_AFRICA Middle Africa covers Angola | Cameroon | Central African Republic | Chad | Congo | Equatorial Guinea | Gabon | São Tomé and Príncipe
EASTERN_AFRICA Eastern Africa covers Brunei | Comoros | Djibouti | Eritrea | Ethiopia | Kenya | Madagascar | Malawi | Mauritius | Mayotte | Mozambique | Reunion | Rwanda | Seychelles | Somalia | Tanzania | Uganda | Zambia | Zimbabwe
AFRICA Africa covers WESTER_AFRICA | SOUTH_AFRICA | NORTH_AFRICA | MIDDLE_AFRICA
BouvetIsland Bouvetøya (norway)

Remarks


Please countries numbered using ISO country codes, to match the 2 letter assignments for country codes use the GeoLocationMapping class. This class also contains Regions, these are all in upper case and are assigned negative numbers.

Examples


Query the country enumerator for a 2 letter iso code
look-up country
if(GeoLocationMapping.TryGetValue(response.Country.IsoCode, out var result)
{
    //do something with code
}