Gets or sets the network proxy to use to access resources.
A System.Net.IWebProxy to use to access resources.
Type Reason NotSupportedException This property is not implemented in the derived class.
The WebRequest.Proxy property identifies the network proxy that the request uses to access resources. The request is made through the proxy server rather than directly to the server hosting the resource.
Operation
If the WebRequest.Proxy property of the current instance has not been set, the value of this property is required to be null .
If the property is being set to null, it is required to throw a ArgumentNullException exception.
This property throws NotSupportedException.
Note to Inheritors
This property must be overridden by classes that inherit from System.Net.WebRequest to provide this functionality.Usage
Use this method to obtain a System.Net.IWebProxy instance that represents the proxy server used by the current instance.
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0