System.Net.Configuration.BypassElement Class

Represents the address information for resources that are not retrieved using a proxy server. This class cannot be inherited.

See Also: BypassElement Members


public sealed class BypassElement : System.Configuration.ConfigurationElement


This class corresponds to the address attribute of the Add Element for Bypasslist (Network Settings) configuration element.

This class is used to specify when a proxy server should not be used to handle requests made with the System.Net.WebRequest and System.Net.WebClient classes. A resource in the bypass list is retrieved directly from the server where it resides.

This class provides programmatic access to information that can be stored in configuration files.


Namespace: System.Net.Configuration
Assembly: System (in System.dll)
Assembly Versions:,
Since: .NET 2.0