Mono Class Library: System.Net Namespace

System.Net.GlobalProxySelection Class

Contains a global default proxy instance for all HTTP requests. [Edit]

See Also: GlobalProxySelection Members

[System.Obsolete("Use WebRequest.DefaultProxy instead")]
public class GlobalProxySelection

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

The System.Net.GlobalProxySelection stores the proxy settings for the default proxy that System.Net.WebRequest instances use to contact Internet sites beyond the local network. The default proxy settings are initialized from a global or application configuration file, and can be overridden for individual requests, or disabled by setting the HttpWebRequest.Proxy property to the object returned by the GlobalProxySelection.GetEmptyWebProxy method.

The proxy settings stored in System.Net.GlobalProxySelection are used by a System.Net.HttpWebRequest instance if its HttpWebRequest.Proxy property is not set.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0