Name

IWebProxy

Synopsis

IWebProxy defines the interface used by the WebProxy class. Parties interested in creating customized proxy handlers would implement this interface to do so, but the WebProxy implementation is sufficient for most HTTP access purposes.

To use an implementation of IWebProxy, see the GlobalProxySelection class or the WebRequest.Proxy property.

public interface IWebProxy {
// Public Instance Properties
   public field ICredentials Credentials{set; get; } 
// Public Instance Methods
   public method Uri GetProxy(Uri destination);  
   public method bool IsBypassed(Uri host);  
}

Implemented By

WebProxy

Returned By

GlobalProxySelection.{GetEmptyWebProxy(), Select}, WebRequest.Proxy

Passed To

GlobalProxySelection.Select, ServicePointManager.FindServicePoint(), WebRequest.Proxy

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.