07.07.2015, 16:46
Hi,
The following code will allow you retrieve the MAC address of your Logic Machine. Whether this is useful, to some, anyway here it is
Thanks,
Roger
The following code will allow you retrieve the MAC address of your Logic Machine. Whether this is useful, to some, anyway here it is
Thanks,
Roger
Code:
local f = io.popen('ifconfig')
local t = f:read()
f:close()
local mac = t:match("HWaddr ([%:%x]*)")
alert(mac)