IWebProxy Interface
Provides the base interface for implementation of proxy access for the WebRequest class.
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
