Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the original Uniform Resource Identifier (URI) of the request.
Namespace: System.Net
Assembly: System.Http (in System.Http.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property RequestUri As Uri
public override Uri RequestUri { get; }
public:
virtual property Uri^ RequestUri {
Uri^ get () override;
}
abstract RequestUri : Uri with get
override RequestUri : Uri with get
override function get RequestUri () : Uri
Property Value
Type: System. . :: . .Uri
A Uri that contains the URI of the Internet resource passed to the WebRequest..::..Create method.
Remarks
The Uri object passed to HttpWebRequest by the call to WebRequest..::..Create.
Following a redirection header does not change the RequestUri property. To get the actual URI that responded to the request, examine the Address property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.