
ServicePoint instances are destroyed when they have exceeded their maximum idle time or when the number of existing ServicePoint instances exceeds the maximum number of ServicePoint instances for the application. The ServicePointManager creates a ServicePoint when the application requests an Internet resource that is not in the collection of existing ServicePoint instances. ServicePointManager is a static class that manages the creation and destruction of ServicePoint instances. For example, the same ServicePoint instance would provide requests to the URIs and since they have the same scheme identifier (http) and host fragments ( If the application already has a persistent connection to the server it uses that connection to retrieve both requests, avoiding the need to create two connections. Each ServicePoint contains information that helps optimize connections with an Internet server by sharing optimization information between connections to improve performance.Įach ServicePoint is identified by a Uniform Resource Identifier (URI) and is categorized according to the scheme identifier and host fragments of the URI. The ServicePoint class provides an application with an endpoint to which the application can connect to access Internet resources.

When they are implemented, they don't affect or track anything about HttpClient networking APIs. Most of their properties and methods are not implemented in these versions. ServicePoint and ServicePointManager are considered legacy on.
