IWebProxy Interface
Collapse the table of content
Expand the table of content

IWebProxy Interface


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

Namespace:   System.Net
Assembly:  System (in System.dll)

public interface IWebProxy


The credentials to submit to the proxy server for authentication.


Returns the URI of a proxy.


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

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 method can be used to control proxy use based on the destination URI. Use the IsBypassed method to indicate that the proxy should not be used to reach the destination server.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
© 2015 Microsoft