Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

<defaultProxy> Element

.NET Framework 1.1

Specifies the proxy server to use for HTTP requests to the Internet.



Child Elements

Element Description
<proxy> Defines the proxy server.
<bypasslist> Lists regular expressions that describe addresses that do not use the proxy.
<module> Adds a new proxy module to the application.


The <defaultProxy> element defines the proxy server information returned by the GlobalProxySelection class. Any HttpWebRequest that does not have its Proxy property set uses the proxy defined by defaultProxy.


The following example configures an application to use the system default proxy.

            usesystemdefault = "true"

Configuration File

This element can be used in the application configuration file, the machine configuration file (Machine.config), and the publisher policy file.

See Also

GlobalProxySelection | Network Settings Schema

© 2015 Microsoft