Posted by: sabbour on: May 10, 2007
Update: In JDK 1.6, you can get the MAC address using this method http://java.sun.com/javase/6/docs/api/java/net/NetworkInterface.html#getHardwareAddress()
A friend of mine ran across the problem of finding his MAC address so that he could use it in his project. Looking around the net we found a command line on Windows called “getmac”. This command can get the MAC addresses [...]