Documentación de Real

Miscellaneous

gethwid

Returns Real's hardware identifier string.

Sintaxis

gethwid(): string

Retornos

NombreTipoDescripción
hardwareIdstringHardware identifier string.

Descripción

Returns Real's hardware identifier string.

Llamalo sin parametros. La funcion lee el contexto necesario desde el estado actual de runtime.

Devuelve hardwareId (string). Usa la tabla de retornos para separar valores correctos, resultados nil y errores recuperables.

Ejemplo

Read Real's cached hardware identifier string.

local hardwareId = gethwid()
print(hardwareId)