public static class NIC.NICInfo extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInterfaceName()
returns the name of the interface.
|
java.lang.String |
getMACAddress()
returns the MAC address of the interface
|
java.lang.String |
toString() |
public java.lang.String getInterfaceName()
NetworkInterface.getName()
(especially on windows).public java.lang.String getMACAddress()
public java.lang.String toString()
toString
in class java.lang.Object