Proxy.IsBypassed Method
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
IsBypassed(Uri)
Indicates whether to use the proxy server for the specified host.
Declaration
public bool IsBypassed(Uri host)
Parameters
Type | Name | Description |
---|---|---|
Uri | host | The Uri of the host to check for proxy use. |
Returns
Type | Description |
---|---|
Boolean | true if the proxy server should not be used for host; otherwise, false. |
Implements
IsBypassed(String, Int32)
Indicates whether to use the proxy server for the specified host.
Declaration
public virtual bool IsBypassed(string hostName, int port)
Parameters
Type | Name | Description |
---|---|---|
String | hostName | The host address to check for proxy use. |
Int32 | port | The port. |
Returns
Type | Description |
---|---|
Boolean | true if the proxy server should not be used for host; otherwise, false. |