Share via


Uri.Host Property

Definition

Gets the fully qualified ___domain name.

public:
 property Platform::String ^ Host { Platform::String ^ get(); };
winrt::hstring Host();
public string Host { get; }
var string = uri.host;
Public ReadOnly Property Host As String

Property Value

String

Platform::String

winrt::hstring

The fully qualified ___domain name.

Remarks

If the ___domain name is subject to Punycode encoding as shown in AbsoluteCanonicalUri, the Host property shows the decoded value, not the Punycode encoded value.

Applies to