Miscellaneous

gethwid

Returns Real's hardware identifier string.

Cú pháp

gethwid(): string

Giá trị trả về

TênKiểuMô tả
hardwareIdstringHardware identifier string.

Mô tả

Returns Real's hardware identifier string.

Goi khong can parameter. Function doc context can thiet tu runtime state hien tai.

Tra ve hardwareId (string). Dung bang returns de tach gia tri thanh cong, ket qua nil va loi co the xu ly.

Ví dụ

Read Real's cached hardware identifier string.

local hardwareId = gethwid()
print(hardwareId)