Mono Class Library: System.Net.HttpWebRequest Overview | MembersSystem.Net.HttpWebRequest.Proxy Property |
Gets or sets network proxy information for the current instance. [Edit]
|
The System.Net.WebProxy instance to use as a proxy for the current instance. The default value is set by calling GlobalProxySelection.Select . [Edit]
Type Reason !:System.Security.Permissions.WebPermission [Edit] Requires unrestricted System.Net.WebPermission. See System.Security.Permissions.PermissionState.Unrestricted.
Type Reason ArgumentNullException A set operation was requested and the specified value was null. [Edit] InvalidOperationException A set operation was requested but data has already been sent to the request stream. [Edit] System.Security.SecurityException The caller does not have permission for the requested operation. [Edit]
The HttpWebRequest.Proxy property identifies the System.Net.WebProxy instance to use to communicate with the destination server.
Note:[Edit]To specify that no proxy should be used, set the HttpWebRequest.Proxy property to the proxy instance returned by the GlobalProxySelection.GetEmptyWebProxy method.
This property overrides WebRequest.Proxy.
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0