Name
WebProxy
Synopsis
This implementation of IWebProxy
supports HTTP proxies. Use the one-argument form of the
constructor to specify the URI of the proxy server.
The second argument BypassOnLocal, if set
to true, bypasses the proxy server for local (Intranet)
addresses. Other forms of the constructor allow you to specify an
array that lists servers for which you should bypass the proxy
(this list can contain regular expression strings containing URI
patterns to match).
You can also supply network credentials to
authenticate your application to the proxy server.
See GlobalProxySelection or
the WebRequest.Proxy property for
details on configuring a proxy.
public class WebProxy : IWebProxy, System.Runtime.Serialization.ISerializable { // Public Constructors public method WebProxy(); public method WebProxy(string Address); public method WebProxy(string Address, bool BypassOnLocal); public method WebProxy(string Address, bool BypassOnLocal, string[] BypassList); public method WebProxy(string Address, bool BypassOnLocal, string[] BypassList, ICredentials Credentials); public method WebProxy(string Host, int Port); public method WebProxy(Uri Address); public method WebProxy(Uri Address, bool BypassOnLocal); public method WebProxy(Uri Address, bool BypassOnLocal, string[] BypassList); public method WebProxy(Uri Address, bool BypassOnLocal, string[] BypassList, ICredentials Credentials); // Protected Constructors protected method WebProxy( System.Runtime.Serialization.SerializationInfo ...