Java.Net.InetSocketAddress.HostString Property
Returns the hostname if known, or the result of InetAddress.getHostAddress.

Syntax

[get: Android.Runtime.Register("getHostString", "()Ljava/lang/String;", "GetGetHostStringHandler")]
public string HostString { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Returns the hostname if known, or the result of InetAddress.getHostAddress. Unlike InetSocketAddress.HostName, this method will never cause a 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