Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Configures basic network options for the System.Net namespace.
<configuration>
<system.net>
<settings>
Syntax
<settings>
<httpListener>...</httpListener>
<httpWebRequest>...</httpWebRequest>
<ipv6>...</ipv6>
<performanceCounters>...</performanceCounters>
<servicePointManager>...</servicePointManager>
<socket>...</socket>
<webProxyScript>...</webProxyScript>
</settings>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
| Element | Description |
|---|---|
| httpListener | Customizes parameters used by the HttpListener class. |
| httpWebRequest | Customizes Web request parameters. |
| ipv6 | Enables Internet Protocol version 6 (IPv6) support. |
| <performanceCounter> Element (Network Settings) | Enables network performance counters. |
| servicePointManager | Configures connections to network resources. |
| socket | Specifies whether socket operations use completion ports. |
| <webProxyScript> Element (Network Settings) | Configures the characteristics of the script used to discover Web proxies. |
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
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.