Compartilhar via


<servicePointManager> Element (Network Settings)

Configures connections to network resources.

<servicePointManager
  checkCertificateName="true|false"
  checkCertificateRevocationList="true|false"
  expect100Continue="true|false"
  useNagleAlgorithm="true|false"
  enableDnsRoundRobin="true|false"
  dnsRefreshTimeout="time"
/>

Attributes and Elements

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

Attributes

Attribute Description

checkCertificateName

Specifies whether the system should verify that the name on the certificate matches the server host name before using the certificate.

checkCertificateRevocationList

Specifies whether the system should check whether the certificate has been revoked before using the certificate.

dnsRefreshTimeout

Specifies how long Domain Name Service (DNS) resolutions are cached in conjunction with the DNS Round Robin option, in milliseconds.

enableDnsRoundRobin

Specifies whether DNS resolutions of host names with multiple Internet Protocol (IP) addresses return all the addresses, or just the first one.

expect100Continue

Specifies whether POST methods should expect to receive a 100-continue response from the server.

useNagleAlgorithm

Specifies whether connections controlled by the service point manager use the Nagle algorithm.

Child Elements

None.

Parent Elements

Element Description

settings

Configures basic network options for the System.Net namespace.

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
ServicePointManager