Miscellaneous

gethwid

Returns Real's hardware identifier string.

الصيغة

gethwid(): string

القيم الراجعة

الاسمالنوعالوصف
hardwareIdstringHardware identifier string.

الوصف

Returns Real's hardware identifier string.

استدعه من دون parameters. تقرأ الدالة السياق المطلوب من حالة runtime الحالية.

يعيد hardwareId (string). استخدم جدول returns للفصل بين قيم النجاح ونتائج nil والأخطاء القابلة للمعالجة.

مثال

Read Real's cached hardware identifier string.

local hardwareId = gethwid()
print(hardwareId)