Skip to content

SerialNumber()

You're viewing grandMA3 2.3 docs. Switch to the latest (2.4).

The SerialNumber Lua function returns the serial number of the grandMA3 hardware or grandMA3 onPC.

This function does not accept any arguments.

  • String:
    The returned string is the serial number of the grandMA3 hardware or grandMA3 onPC.

This example prints the serial number in the Command Line History:

Copy CodeLua
```
return function()
Printf("Serial number: " .. SerialNumber())

end