public class GlobalProxySelection
|
The proxy settings stored in GlobalProxySelection are used by any HttpWebRequest instances whose HttpWebRequest.Proxy property is not set to another value.
Uri proxyURI = new Uri("http://webproxy:80");
GlobalProxySelection.Select = new WebProxy(proxyURI);
| ctor #1 | Default constructor. This constructor is called by derived class constructors to initialize state in this type. |
| Select | Read-write Gets or sets the global HTTP proxy. |
| Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
| GetEmptyWebProxy | Returns an empty proxy instance. |
| GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
| GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
| ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
| Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
| MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public GlobalProxySelection(); |
public static IWebProxy Select {get; set;}
|
~GlobalProxySelection(); |
public static IWebProxy GetEmptyWebProxy(); |
WebRequest myReq = WebRequest.Create("http://www.contoso.com/");
myReq.Proxy = GlobalProxySelection.GetEmptyWebProxy();
public virtual int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public virtual string ToString(); |