<settings> Element (Network Settings)

 

Configures basic network options for the System.Net namespace.

<configuration>
<system.net>
<settings>

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

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

Attributes

None.

Child Elements

ElementDescription
httpListenerCustomizes parameters used by the HttpListener class.
httpWebRequestCustomizes Web request parameters.
ipv6Enables Internet Protocol version 6 (IPv6) support.
<performanceCounter> Element (Network Settings)Enables network performance counters.
servicePointManagerConfigures connections to network resources.
socketSpecifies whether socket operations use completion ports.
<webProxyScript> Element (Network Settings)Configures the characteristics of the script used to discover Web proxies.

Parent Elements

ElementDescription
system.netContains settings that specify how the .NET Framework connects to the network.

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

System.Net
Network Settings Schema

Show: