By semilla
via thecodersblog.blogspot.com
Published: Jun 23 2007 / 11:14
Code to get the MAC address/es from the network card/s in Windows and Linux
By semilla
via thecodersblog.blogspot.com
Published: Jun 23 2007 / 11:14
Comments
daniel replied ago:
Better way on >=java-6.0 is to use the InetInterface#getHardwareID() (or something like that) API
afsina replied ago:
NetworkInterfacae
public byte[] getHardwareAddress()
Returns the hardware address (usually MAC) of the interface if it has one and if it can be accessed given the current privileges.
semilla replied ago:
Thanks for the addiontional information!!
Voters For This Link (10)
Voters Against This Link (1)