Back

GetMacAddress

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 );
}
    Copy     Copy All       Run