Re: Retrieving mac address of remote computer
- From: Gordon Beaton <n.o.t@xxxxxxxxx>
- Date: 29 Aug 2007 06:11:33 GMT
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
--
.
- References:
- Retrieving mac address of remote computer
- From: christopher_board
- Retrieving mac address of remote computer
- Prev by Date: Re: Adding SCROLLBARS to a JTextArea
- Next by Date: Re: Hibernate InheritanceType.JOINED trouble
- Previous by thread: Re: Retrieving mac address of remote computer
- Next by thread: Adding SCROLLBARS to a JTextArea
- Index(es):