Gets the Uri of the resource associated with the current instance.
A Uri containing the URI of the resource associated with the current instance
Type Reason NotSupportedException This property is not implemented in the derived class.
This property is read-only.
Operation
WebRequest.RequestUri is required to contain the URI passed to the WebRequest.Create(Uri, bool) methods. If the protocol implemented by a derived class supports redirection, the derived class is required to provide a property to contain the URI that actually services the request.This property throws a NotSupportedException exception.
Note to Inheritors
This property must be overridden by classes that inherit from System.Net.WebRequest to provide this functionality. ]Usage
Use this property to determine the URI that the request was addressed to. For information about the URI that actually serviced the request, see WebResponse.ResponseUri .
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0