Back

GetMacAddress

JS Py
Hello World

Returns the alphanumeric Media-Access-Control address of the device.

app.GetMacAddress() → String

Style should be “00:00:00:00:00:00”. The individual numbers can have hexadecimal values between 00 and FF.

Example - Show MAC Address

function OnStart()
{
    var mac = app.GetMacAddress();
    app.ShowPopup( mac );
}
from native import app

def OnStart():
        mac = app.GetMacAddress()
        app.ShowPopup(mac)
    Copy     Copy All       Run