A NetworkInterface represent an active network interface on the current system. It contains a list of InternetAddresss, that's bound to the interface.

Static Methods

list({bool includeLoopback: false, bool includeLinkLocal: false, InternetAddressType type: InternetAddressType.ANY}) → Future<List<NetworkInterface>>
Query the system for NetworkInterfaces.

Properties

List<InternetAddress> addresses
read-only
Get a list of InternetAddresss currently bound to this NetworkInterface.
String index
read-only
Get the index of the NetworkInterface.
String name
read-only
Get the name of the NetworkInterface.

Constructors

NetworkInterface()