Gets the original URI string that was passed to the Uri constructor.
Documentation for this section has not yet been entered.
If the URI specified to the constructor contained leading or trailing spaces, these spaces are preserved.
The value returned by this property differs from Uri.ToString and Uri.AbsoluteUri. Uri.ToString returns the canonically unescaped form of the URI. Uri.AbsoluteUri returns the canonically escaped form of the URI.
When International Resource Identifier (IRI) and Internationalized Domain Name (IDN) support are enabled, Uri.OriginalString returns the original non normalized string with Punycode host name if one was used to initialize the Uri instance. Punycode names contain only ASCII characters and always start with the xn-- prefix.
For more information on IRI support, see the Remarks section for the Uri class.
When a Uri object is serialized, the Uri.OriginalString is not preserved. The serialization process uses the fully escaped and canonicalized Uri.AbsoluteUri property when serializing. For a Uri that contains an IPv6 address, the IPv6 address and the scope ID are included in the serialized Uri object.