Back

GetIPAddress

Hello World

GetIPAddress returns the current network ip address.

app.GetIPAddress() → string

It should look like “0.0.0.0” which is the default value for disabled internet connection. The individual numbers can have values between 0 and 255.

Example - Show Device IP

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