Gets the two letter ISO-3166 country code that belongs to the IP4 address.

Syntax

Smartsite SXML CopyCode image Copy Code
string smi.getcountrycode(string ipAddress)

Parameters

Name Data Type Description
ipAddress String IP4 address

Return Value

Data Type Description
String Returns the two letter ISO-3166 country code that belongs to the IP4 address.

Expand image Example

SXML