class
NetworkInterface

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

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

Constructors

NetworkInterface()