gethwid Synchronous

  • get_hwid
  • get_user_identifier

Read the opaque device identifier supplied by Kawaii's Android bridge. Use it only for a local integration that genuinely needs to recognize this installation.

Syntax
Luau
gethwid() -> string

Parameters

This function takes no arguments.

Returns

string

An identifier string.

Usage notes

The call raises if the Android identifier is unavailable. Do not put the raw value into public logs or treat its text as a set of device properties.

Example

Example
Luau
local ok, identifier = pcall(gethwid)
if ok then
    print("Device identifier available:", #identifier > 0)
else
    print("Device identifier unavailable")
end
Kawaii documentation