Miscellaneous

gethwid

Returns Real's hardware identifier string.

Sintaxe

gethwid(): string

Retornos

NomeTipoDescrição
hardwareIdstringHardware identifier string.

Descrição

Returns Real's hardware identifier string.

Chame sem parametros. A funcao le o contexto necessario do estado atual da runtime.

Retorna hardwareId (string). Use a tabela de retornos para separar valores bem sucedidos, nil e erros recuperaveis.

Exemplo

Read Real's cached hardware identifier string.

local hardwareId = gethwid()
print(hardwareId)