Class NIC
java.lang.Object
fc.net.NIC
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classContains information about IP addresses and the associated interface names and MAC address. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MapgetMAC()Returns a Map containing an IP address as the key and aNIC.NICInfoobject as the value.static void
-
Constructor Details
-
NIC
public NIC()
-
-
Method Details
-
getMAC
Returns a Map containing an IP address as the key and aNIC.NICInfoobject as the value. Returns null if the platform type is not supported.Note 1: Requires a NT based system (NT, 2000, XP or later) if running on windows. (this call will not work for lesser versions of windows).
Note 2: An english locale is needed for this method to work properly (because we parse for certain english words to extract the results). -
main
-