HttpWebRequest.RequestUri Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the original Uniform Resource Identifier (URI) of the request.
Assembly: System.Net (in System.Net.dll)
Property Value
Type: System.UriA Uri that contains the URI of the Internet resource passed to the WebRequest.Create method.
| Exception | Condition |
|---|---|
| NotImplementedException | This property is not implemented. |
The Uri object passed to HttpWebRequest by the call to WebRequest.Create.
Following a redirection header does not change the RequestUri property.
If an application implements a custom WebRequest class and does not override the RequestUri property, then the NotImplementedException is thrown.