Gets the country name that belongs to the IP4 address.

Syntax

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

Parameters

Name Data Type Description
ipAddress String IP4 address

Return Value

Data Type Description
String Returns the country name that belongs to the IP4 address.

Expand image Example

SXML