This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Getting the MAC of your Logic Machine.
#1
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

Code:
local f = io.popen('ifconfig')
local t = f:read()
f:close()
local mac = t:match("HWaddr ([%:%x]*)") 

alert(mac)
Reply


Messages In This Thread
Getting the MAC of your Logic Machine. - by rocfusion - 07.07.2015, 16:46

Forum Jump: