Mono Class Library: System.Net.IWebProxy Overview | Members

System.Net.IWebProxy.IsBypassed Method

Returns a bool value that indicates whether the proxy server is not used to access a specified server. [Edit]

public bool IsBypassed (Uri host)

Parameters

host
The Uri of the server to check for proxy use. [Edit]

Returns

true if the proxy server is not used to access the server specified in host; otherwise, false. [Edit]

Remarks

Operation
The value returned by the IWebProxy.IsBypassed(Uri) method indicates whether requests that access the server specified in the host parameter bypass the proxy server.

Usage
If IWebProxy.IsBypassed(Uri) is true , requests and responses between the client and host are not required to go through the proxy server.

[Edit]

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0