NameResolutionResult.HostName Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the host name that was submitted to be resolved.

Namespace:  Microsoft.Phone.Net.NetworkInformation
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

Public ReadOnly Property HostName As String
public string HostName { get; }

Property Value

Type: System..::.String
The host name.

Remarks

The user passes the host name to the ResolveHostNameAsync method.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Platforms

Windows Phone

See Also

Reference

NameResolutionResult Class

Microsoft.Phone.Net.NetworkInformation Namespace