ApplesauceOS
Read Markdown ↗Download .md

getSN

Read the device serial number.

js
getSN()

Arguments

No arguments.

Returns

Serial-number string when available.

Example

js
console.log(JSON.stringify(getSN()));

Notes

Avoid logging or sharing device identifiers unnecessarily.

All JavaScript APIs · Automation playbook