Uri.AbsoluteCanonicalUri Property


Gets a fully canonical RFC-compliant representation of the current URI.

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

Property Value


The canonical URI has all non-US ASCII characters represented as percent-encoded UTF-8 and as Punycode in the hostname.

Use the DisplayIri property instead if you want to decode this string so that it can be presented.

Applies to

See also