IWebProxy IWebProxy IWebProxy IWebProxy Interface


Provides the base interface for implementation of proxy access for the WebRequest class.

public interface class IWebProxy
public interface IWebProxy
type IWebProxy = interface
Public Interface IWebProxy


The IWebProxy interface provides the methods and properties that are required by the WebRequest class to access proxy servers.

The WebProxy class is the base implementation of the IWebProxy interface.

Notes to Implementers

The GetProxy(Uri) method can be used to control proxy use based on the destination URI. Use the IsBypassed(Uri) method to indicate that the proxy should not be used to reach the destination server.


Credentials Credentials Credentials Credentials

The credentials to submit to the proxy server for authentication.


GetProxy(Uri) GetProxy(Uri) GetProxy(Uri) GetProxy(Uri)

Returns the URI of a proxy.

IsBypassed(Uri) IsBypassed(Uri) IsBypassed(Uri) IsBypassed(Uri)

Indicates that the proxy should not be used for the specified host.

Applies to