CountryAlpha Property  
 

Gets the ISO alpha-2 code for the country at the current location.

Syntax

object.CountryAlpha

Remarks

This property returns a string which contains the ISO 3166-1 alpha-2 code for the country the external IP address is located in. This is a two-letter country code established by the International Organization for Standardization (ISO).

The SubdivisionCode property can be used to determine the standard ISO standard code for a regional subdivision (such as a state, province or territory). For example, if the IP address is located in Los Angeles, California the CountryAlpha property would return "US" and the SubdivisionCode property would return "CA".

Data Type

String

See Also

CountryCode Property, CountryName Property, RegionName Property, Subdivision Property, SubdivisionCode Property