Java.Net.InetSocketAddress.HostName Property
Returns the hostname, doing a reverse DNS lookup on the InetAddress if no hostname string was provided at construction time.

Syntax

[get: Android.Runtime.Register("getHostName", "()Ljava/lang/String;", "GetGetHostNameHandler")]
public string HostName { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Returns the hostname, doing a reverse DNS lookup on the InetAddress if no hostname string was provided at construction time. Use InetSocketAddress.HostString to avoid the reverse DNS lookup.

[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