Package | flash.net |
Class | public class NetworkInterface |
Inheritance | NetworkInterface Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
You can get a list of network interfaces by calling the
findInterfaces()
method of a NetworkInfo object.
More examples
Related API Elements
Property | Defined By | ||
---|---|---|---|
active : Boolean
Reports whether this interface is active. | NetworkInterface | ||
addresses : Vector.<InterfaceAddress>
The list of the addresses bound to this network interface. | NetworkInterface | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
displayName : String
The display name of this network interface. | NetworkInterface | ||
hardwareAddress : String
The hardware address of this network interface. | NetworkInterface | ||
mtu : int
The maximum transmission unit (MTU) of this network interface. | NetworkInterface | ||
name : String
The name of this network interface. | NetworkInterface | ||
parent : NetworkInterface
The NetworkInterface object representing the parent interface (if this interface has a parent). | NetworkInterface | ||
subInterfaces : Vector.<NetworkInterface>
The list of subinterfaces attached to this network interface. | NetworkInterface |
active | property |
addresses | property |
addresses:Vector.<InterfaceAddress>
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
The list of the addresses bound to this network interface.
Implementation
public function get addresses():Vector.<InterfaceAddress>
public function set addresses(value:Vector.<InterfaceAddress>):void
displayName | property |
hardwareAddress | property |
hardwareAddress:String
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
The hardware address of this network interface.
The hardware address is typically the Media Access Control (MAC) address of the network adapter or interface card.
Implementation
public function get hardwareAddress():String
public function set hardwareAddress(value:String):void
mtu | property |
name | property |
parent | property |
parent:NetworkInterface
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
The NetworkInterface object representing the parent interface (if this interface has a parent).
This interface could have a parent if it is a subinterface. The parent
property is null
if this interface has no parent.
Implementation
public function get parent():NetworkInterface
public function set parent(value:NetworkInterface):void
subInterfaces | property |
subInterfaces:Vector.<NetworkInterface>
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
The list of subinterfaces attached to this network interface.
Subinterfaces are often virtual interfaces. The subInterfaces
property is null
if this interface has no subinterfaces.
Implementation
public function get subInterfaces():Vector.<NetworkInterface>
public function set subInterfaces(value:Vector.<NetworkInterface>):void
Thu Dec 6 2018, 01:12 PM -08:00