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

System.Net.WebProxy.IsBypassed Method

Indicates whether a request will bypass the proxy server when accessing the resource represented by the specified URI.

public bool IsBypassed (Uri host)

Parameters

host
A Uri containing the URI of the server to check.

Returns

Returns true under any of the following conditions:

All other conditions return false.

Exceptions

TypeReason
ArgumentExceptionThe WebProxy.BypassList of the current instance contains an invalid regular expression.

Remarks

Documentation for this section has not yet been entered.

Requirements

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