Uri.Host Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.