NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpWebRequest.RequestURI

Gets the original URI of the request.

[Visual Basic]
Overridable Public ReadOnly Property RequestURI As URI
[C#]
public URI RequestURI {override get;}
[C++]
public: __property virtual URI* get_RequestURI();
[JScript]
public function get RequestURI() : URI;

Remarks

The System.Net.Uri instance is passed to HttpWebRequest by the WebRequestFactory is always never null.

RequestURI is never changed by redirection. To get the actual URI that responded to the request, examine the Address property.

See Also

HttpWebRequest Class | HttpWebRequest Members | System.Net Namespace