Syntax
gethwid(): stringReturns
| Name | Type | Description |
|---|---|---|
hardwareId | string | Hardware identifier string. |
Description
Returns Real's hardware identifier string.
Call it without parameters. The function reads the needed context from the current runtime state.
It returns hardwareId (string). Use the returns table to separate successful values from nil results and recoverable errors.
Example
Read Real's cached hardware identifier string.
local hardwareId = gethwid()
print(hardwareId)