Gets or sets a bool value indicating whether requests for local resources bypass the proxy server.
true to bypass the proxy server for local resources; otherwise, false. The default value is false.
The setting of this property determines whether System.Net.WebRequest instances use the proxy server when accessing local resources. If WebProxy.BypassProxyOnLocal is true , requests to local resources do not use the proxy server. Local resources are identified by the lack of a period (.) in the URI, as in "http://webserver/". When WebProxy.BypassProxyOnLocal is false , all requests for resources are made through the proxy server.
Note: If a request for a resource residing on a local machine is made using a URI that contains a period, the proxy is used to send the request. Create an entity in the WebProxy.BypassList to access local resources directly.
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0