Skip to content
Desktop inputOverview

gethwid

Provides the module's device identifier.

Details#

Returns the module's hardware-identifier string for the current machine. Treat it as an identifier rather than a password or a session token; the example only prints its length.

Examples#

Example

Luau
local identifier = gethwid()
print(type(identifier), #identifier)