# SerialNumber()

Source: https://help.malighting.com/grandMA3/2.3/HTML/lua_objectfree_serialnumber.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
## Description

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

## Arguments

This function does not accept any arguments.

## Return

- **String**:\
  The returned string is the serial number of the grandMA3 hardware or grandMA3 onPC.

## Example

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

|                                                                               |
| ----------------------------------------------------------------------------- |
| [Copy Code](javascript:void\(0\))Lua                                          |
| ```
return function()
    Printf("Serial number: " .. SerialNumber())
end
``` |