TCnWebProxy.IsBypassed(_Uri) Method

Indicates whether to use the proxy server for the specified host.

Namespace: CNClrLib.Component.WebProxy
public
 function IsBypassed(Host: _Uri): Boolean; overload;

Parameters

Host
Type: System.Void

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

Return Value

Type: Boolean

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

The IsBypassed method is used to determine whether to bypass the proxy server when accessing an Internet resource.

The BypassProxyOnLocal and BypassAddressList properties control the return value of the IsBypassed method.

IsBypassed returns true under any of the following conditions:

All other conditions return false.