IWebProxy

IWebProxy CF 1.0, ECMA 1.0

System.Net (system.dll) interface

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 ICredentials  Credentials  {set; get; }  // Public Instance Methods  public Uri  GetProxy  (Uri   destination   );    public bool  IsBypassed  (Uri   host   ); } 

Implemented By

WebProxy

Returned By

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

Passed To

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



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net