Android.Net.Network.GetByName Method
Operates the same as InetAddress.getByName except that host resolution is done on this network.

Syntax

[Android.Runtime.Register("getByName", "(Ljava/lang/String;)Ljava/net/InetAddress;", "GetGetByName_Ljava_lang_String_Handler")]
public virtual Java.Net.InetAddress GetByName (string host)

Parameters

host
the hostName to be resolved to an address or null.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Net.UnknownHostExceptionif the address lookup fails.

Remarks

Operates the same as InetAddress.getByName except that host resolution is done on this network.

[Android Documentation]

Requirements

Namespace: Android.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0