Re: Retrieving mac address of remote computer



On Tue, 28 Aug 2007 13:07:24 -0700, christopher_board@xxxxxxxxxxx wrote:
However I don't have a clue about how I can get the mac address of a
computer.

Use NetworkInterface.getHardwareAddress() for each of the interfaces
returned by NetworkInterface.getNetworkInterfaces().

Note that a host often has multiple network interfaces and
correspondingly many MAC addresses. It's up to you to decide which is
"the" MAC address.

/gordon

--
.