Tutorial: System.getDeviceId

System.getDeviceId

Returns a hex encoded hash of the mac address and the currently logged in user name

Example

fin.System.getDeviceId().then(id => console.log(id)).catch(err => console.log(err));