This content has been marked as final. Show 2 replies
first of all, NetworkInterface only exposes the NetworkInterfaces of the local computer. secondly, you cannot find the mac address of an arbitrary remote computer. that information is not available outside of the local subnet. and java doesn't expose a way to discover it even for computers on the local subnet.
What do you want the MAC address for? You are aware that it can can changed by the user?