OriginalString Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the original URI string that was passed to the Uri constructor.

Namespace:  System
Assembly:  System.Http (in System.Http.dll)

public string OriginalString { get; }

Property Value

Type: System..::..String
A String containing the exact URI specified when this instance was constructed; otherwise, Empty.

If the URI specified to the constructor contained leading or trailing spaces, these spaces are preserved.