lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


steve donovan wrote:
A rather easier command to parse is getmac

Physical Address    Transport Name
=================== ==========================================================
00-21-9B-6F-0F-19   \Device\Tcpip_{C0FF4EDB-2217-45F5-8814-08575CA97DC1}
00-50-56-C0-00-01   \Device\Tcpip_{09EEBB50-D557-4006-8CB0-AEFEC3E95623}
00-50-56-C0-00-08   \Device\Tcpip_{CA469F8A-22C1-4873-9BD4-EA4D1257B5C9}

But yes, it's not easy to distinguish the real interface from the
VMware interfaces...

Also, it's not in all versions (e.g. not in XP Home). I agree that:

The API route is .. tricky. nixio may be the best cross-platform
> option.

  Enrico