Java.Net.NetworkInterface.GetByName Method
Returns the NetworkInterface corresponding to the named network interface, or null if no interface has this name.

Syntax

[Android.Runtime.Register("getByName", "(Ljava/lang/String;)Ljava/net/NetworkInterface;", "")]
public static NetworkInterface GetByName (string interfaceName)

Parameters

interfaceName
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Net.SocketExceptionif an error occurs.
Java.Lang.NullPointerExceptionif interfaceName == null.

Remarks

Returns the NetworkInterface corresponding to the named network interface, or null if no interface has this name.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1