Indicates whether a request will bypass the proxy server when accessing the resource represented by the specified URI.
- host
- A Uri containing the URI of the server to check.
Returns true under any of the following conditions:
- The WebProxy.BypassProxyOnLocal property of the current instance is true and host is a local URI.
- host matches a regular expression in WebProxy.BypassList.
- The WebProxy.Address of the current instance is null.
All other conditions return false.
Type Reason ArgumentException The WebProxy.BypassList of the current instance contains an invalid regular expression.
Documentation for this section has not yet been entered.
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0