System.Net.ServicePointManager Class

Manages the collection of System.Net.ServicePoint objects.

See Also: ServicePointManager Members

Syntax

public class ServicePointManager

Remarks

System.Net.ServicePointManager is a static class used to create, maintain, and delete instances of the System.Net.ServicePoint class.

When an application requests a connection to an Internet resource Uniform Resource Identifier (URI) through the System.Net.ServicePointManager object, the System.Net.ServicePointManager returns a System.Net.ServicePoint object that contains connection information for the host and scheme identified by the URI. If there is an existing System.Net.ServicePoint object for that host and scheme, the System.Net.ServicePointManager object returns the existing System.Net.ServicePoint object; otherwise, the System.Net.ServicePointManager object creates a new System.Net.ServicePoint object.

Thread Safety

The public static fields exposed in ServicePointManager are not thread safe. Changing one of these values in one thread will change the value for any other thread subsequently accessing the field.

Requirements

Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0, 4.0.0.0