Network interface details with Java 6

Submitted by Little Tutorials » Many times it is useful to be able to get programmatically information about the network interfaces present on a host. Java standard library include a number of classes designed to provide access to this information. The most important is java.net.NetworkInterface which suffered a major face lifting in Java 6. Now it is possible to get a lot more information about every network interface in the system. Of special importance is the ability to get the MAC address of an interface.
Rating: 3.0/5 | 256 clicks | 0 comments | 0 saves | share | report

Comments on this tutorial

Discuss this tutorial

You must be logged in to comment on a tutorial.