The members of Java.Net.NetworkInterface are listed below.
See Also: Inherited members from Java.Lang.Object
[read-only] | DisplayName | string. Returns a human-readable name for this network interface. |
[read-only] | Index | int. Returns the index for the network interface, or -1 if unknown. |
[read-only] | InetAddresses | Java.Util.IEnumeration. Returns an enumeration of the addresses bound to this network interface. |
[read-only] | InterfaceAddresses | IList<InterfaceAddress>. Returns a List of the InterfaceAddresses for this network interface. |
[read-only] | IsLoopback | bool. Returns true if this network interface is a loopback interface. |
[read-only] | IsPointToPoint | bool. Returns true if this network interface is a point-to-point interface. |
[read-only] | IsUp | bool. Returns true if this network interface is up. |
[read-only] | IsVirtual | bool. Returns true if this interface is a virtual interface (also called a sub-interface). |
[read-only] | MTU | int. Returns the Maximum Transmission Unit (MTU) of this interface. |
[read-only] | Name | string. Returns the name of this network interface (such as "eth0" or "lo"). |
[read-only] static | NetworkInterfaces | Java.Util.IEnumeration. Gets a list of all network interfaces available on the local system or null if no interface is available. |
[read-only] | Parent | NetworkInterface. Returns the parent NetworkInterface of this interface if this is a sub-interface, or null if it's a physical (non virtual) interface. |
[read-only] | SubInterfaces | Java.Util.IEnumeration. Returns an enumeration of all the sub-interfaces of this network interface. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
static | GetByIndex(int)Returns the NetworkInterface corresponding to the given interface index, or null if no interface has this index. | |
static | GetByInetAddress(InetAddress)Returns the NetworkInterface corresponding to the given address, or null if no interface has this address. | |
static | GetByName(string)Returns the NetworkInterface corresponding to the named network interface, or null if no interface has this name. | |
GetHardwareAddress()Returns the hardware address of the interface, if it has one, or null otherwise. | ||
SupportsMulticast()Returns true if this network interface supports multicast. |