構文
gethwid(): string戻り値
| 名前 | 型 | 説明 |
|---|---|---|
hardwareId | string | Hardware identifier string. |
説明
Returns Real's hardware identifier string.
パラメータなしで呼び出します。関数は現在の runtime 状態から必要な context を読み取ります。
hardwareId (string) を返します。戻り値表を使って成功値、nil 結果、回復可能なエラーを分けて扱ってください。
例
Read Real's cached hardware identifier string.
local hardwareId = gethwid()
print(hardwareId)