CountryCode Property  
 

Gets the numeric code for the country at the current location.

Syntax

object.CountryCode

Remarks

This property returns an integer value which identifies the country where the external IP address is located. These codes can be up to three digits (usually displayed with leading zeros as necessary) and correspond to the country codes assigned by the United Nations. For example, the code for the United States is 840. It is important to note that these are not international dialing codes and should not be used with telephony applications.

Data Type

Integer (Int32)

See Also

CountryAlpha Property, CountryName Property, RegionName Property, Subdivision Property