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)