IWebProxy Interface
Provides the base interface for implementation of proxy access for the WebRequest class.
Namespace: System.Net
Assembly: System (in System.dll)
The IWebProxy type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | GetProxy | Returns the URI of a proxy. |
![]() ![]() | IsBypassed | 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 ImplementersThe 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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.


