System.Net.Configuration.DefaultProxySection Class

Represents the configuration section for Web proxy server usage. This class cannot be inherited.

See Also: DefaultProxySection Members


public sealed class DefaultProxySection : System.Configuration.ConfigurationSection


This class corresponds to the DefaultProxy Element (Network Settings) configuration element.

This class is used to access information about the Web proxy server used for requests made with the System.Net.WebRequest and System.Net.WebClient classes. The following table describes the configuration elements contained in the System.Net.Configuration.DefaultProxySection configuration section.


Identifies the Web proxy server to use.


Identifies resources that are not retrieved using the proxy server.


Identifies a custom System.Net.IWebProxy implementation.

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

The System.Net.Configuration.DefaultProxySection settings apply only to the default proxy server.


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