NetworkInterfaceInfo class

The information for a network interface returned from a call to {@linkcode Deno.networkInterfaces}.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

NetworkInterfaceInfo.new({String? name, Family? family, String? address, String? netmask, num? scopeid, String? cidr, String? mac})
factory

Properties

address String

Available on NetworkInterfaceInfo, provided by the NetworkInterfaceInfo$Typings extension

The IP address bound to the interface.
getter/setter pair
cidr String

Available on NetworkInterfaceInfo, provided by the NetworkInterfaceInfo$Typings extension

The CIDR range.
getter/setter pair
family Family

Available on NetworkInterfaceInfo, provided by the NetworkInterfaceInfo$Typings extension

The IP protocol version.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mac String

Available on NetworkInterfaceInfo, provided by the NetworkInterfaceInfo$Typings extension

The MAC address.
getter/setter pair
name String

Available on NetworkInterfaceInfo, provided by the NetworkInterfaceInfo$Typings extension

The network interface name.
getter/setter pair
netmask String

Available on NetworkInterfaceInfo, provided by the NetworkInterfaceInfo$Typings extension

The netmask applied to the interface.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopeid num?

Available on NetworkInterfaceInfo, provided by the NetworkInterfaceInfo$Typings extension

The IPv6 scope id or null.
getter/setter pair

Methods

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

Operators

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