Gracias de antemano.
Americo

Escrito 24 noviembre 2011 - 04:02
Escrito 25 noviembre 2011 - 07:20
try{ InetAddress []addresses = InetAddress.getAllByName(InetAddress.getLocalHost().getHostName()); for(int j=0; j < mac.length; i++) { System.out.format("%02X%s", mac[i], (i < mac.length – 1) ? "-" : ""); } System.out.println(); }