Share via


<settings> Element (Network Settings)

Configures basic network options for the System.Net namespace.

<configuration> Element
  <system.net> Element (Network Settings)
    <settings> Element (Network Settings)

<settings> 
  <servicePointManager> … </servicePointManager> 
..<httpWebRequest> … </httpWebRequest> 
..<ipv6> … </ipv6> 
..<socket> … </socket> 
..<webProxyScript> … </webProxyScript> 
..<performanceCounters> … </performanceCounters> 
</settings>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element

Description

<httpWebRequest>

Customizes Web request parameters.

<ipv6>

Enables Internet Protocol version 6 (IPv6) support.

<servicePointManager>

Configures connections to network resources.

<socket>

Specifies whether socket operations use completion ports.

<webProxyScript>

Configures the characteristics of the script used to discover Web proxies.

< performanceCounters>

Enables network performance counters.

Parent Elements

Element

Description

<system.net>

Contains settings that specify how the .NET Framework connects to the network.

Remarks

Configuration Files

This element can be used in the application configuration file or the machine configuration file (Machine.config).

See Also

Reference

Network Settings Schema

System.Net