Miscellaneous

gethwid

Returns Real's hardware identifier string.

構文

gethwid(): string

戻り値

名前説明
hardwareIdstringHardware 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)