IpAdapterInfo class

The IP_ADAPTER_INFO structure contains information about a particular network adapter on the local computer.

Constructors

IpAdapterInfo({required int comboIndex, required String adapterName, required String description, required int addressLength, required Uint8List address, required int index, required IpAdapterType type, required int dhcpEnabled, required List<IpAddrString> ipAddressList, required List<IpAddrString> gatewayList, required List<IpAddrString> dhcpServer, required bool haveWins, required List<IpAddrString> primaryWinsServer, required List<IpAddrString> secondaryWinsServer, required int leaseObtained, required int leaseExpires})
const
IpAdapterInfo.fromMap(Map<String, dynamic> map)
factory

Properties

adapterName String
An ANSI character string of the name of the adapter.
final
address Uint8List
The hardware address for the adapter represented as a string.
final
addressLength int
The length, in bytes, of the hardware address for the adapter.
final
bDhcpEnabled bool
Returns the dhcpEnabled value to bool
no setter
comboIndex int
Reserved.
final
description String
An ANSI character string that contains the description of the adapter.
final
dhcpEnabled int
An option value that specifies whether the dynamic host configuration protocol (DHCP) is enabled for this adapter.
final
dhcpServer List<IpAddrString>
The IPv4 address of the DHCP server for this adapter represented as a linked list of IP_ADDR_STRING structures.
final
gatewayList List<IpAddrString>
The IPv4 address of the gateway for this adapter represented as a linked list of IP_ADDR_STRING structures.
final
hashCode int
The hash code for this object.
no setterinherited
haveWins bool
An option value that specifies whether this adapter uses the Windows Internet Name Service (WINS).
final
index int
The adapter index.
final
ipAddressList List<IpAddrString>
The list of IPv4 addresses associated with this adapter represented as a list of IP_ADDR_STRING structures.
final
leaseExpires int
The time when the current DHCP lease expires.
final
leaseObtained int
The time when the current DHCP lease was obtained.
final
macAddress String
address to string
no setter
primaryWinsServer List<IpAddrString>
The IPv4 address of the primary WINS server represented as a linked list of IP_ADDR_STRING structures.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryWinsServer List<IpAddrString>
The IPv4 address of the secondary WINS server represented as a linked list of IP_ADDR_STRING structures.
final
type IpAdapterType
The adapter type. Possible values for the adapter type are listed in the Ipifcons.h header file.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited