Back

GetIPAddress

GetIPAddress returns the current internet ip address.

  app.GetIPAddress() → string

It should look like "00.00.00.00" which is the default value for disabled internet connection.

Example - Example



function OnStart()
{
    ip = app.GetIPAddress();
    app.ShowPopup( ip );
}
    Copy     Copy All       Run