this-> GetClientIP

(Caronte Pcode version 2.0)

Description

string this-> GetClientIP (void);

Get the ip address of the client.

Example.

Source:

CS_ADMIN_SCRIPT this = new CS_ADMIN_SCRIPT($_this);

int Main(CAdminRequest pRequest, CAdminResponse pResponse)
{

this->Print("Result: " + this->GetClientIP());


return 0;

}



Out:
Result: 192.168.0.1