System.Net.IWebProxy.IsBypassed Method

Indicates that the proxy should not be used for the specified host.

Syntax

public bool IsBypassed (Uri host)

Parameters

host
The Uri of the host to check for proxy use.

Returns

true if the proxy server should not be used for host; otherwise, false.

Remarks

The IWebProxy.IsBypassed(Uri) method indicates whether to use the proxy server to access the host that is specified in the host parameter. If IWebProxy.IsBypassed(Uri) is true, the proxy is not used to contact the host and the request is passed directly to the server.

Requirements

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