System.Net.HttpWebRequest.ServicePoint Property

Gets the service point to use for the request.

Syntax

public ServicePoint ServicePoint { get; }

Value

A System.Net.ServicePoint that represents the network connection to the destination. The value of this property can be, but is not required to be, null until the HttpWebRequest.GetResponse method is called.

Remarks

The ServicePoint.Address property may be different from HttpWebRequest.Address if the request is redirected.

Requirements

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