Miscellaneous

gethwid

Returns Real's hardware identifier string.

Składnia

gethwid(): string

Zwroty

NazwaTypOpis
hardwareIdstringHardware identifier string.

Opis

Returns Real's hardware identifier string.

Wywolaj bez parametrow. Funkcja czyta potrzebny kontekst z aktualnego stanu runtime.

Zwraca hardwareId (string). Uzyj tabeli zwrotow, aby oddzielic wartosci sukcesu, wyniki nil i bledy do obsluzenia.

Przykład

Read Real's cached hardware identifier string.

local hardwareId = gethwid()
print(hardwareId)