Java.Net.Inet6Address.GetByAddress Method
Gets an IPv6 address instance according to the given host, addr and nif.

Syntax

[Android.Runtime.Register("getByAddress", "(Ljava/lang/String;[BLjava/net/NetworkInterface;)Ljava/net/Inet6Address;", "")]
public static Inet6Address GetByAddress (string host, byte[] addr, NetworkInterface nif)

Parameters

host
the hostname associated with the address.
addr
the network address.
nif
the network interface that this address is associated with.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Net.UnknownHostExceptionif the address is null or has an invalid length or the interface doesn't have a numeric scope id for the given address type.

Remarks

Gets an IPv6 address instance according to the given host, addr and nif. scope_id is set according to the given nif and the addr type (for example site-local or link-local).

[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