مشاركة عبر


HttpRequestMessage.TransportInformation Property

Definition

Get information about the underlying transport socket used by an HTTP connection.

public:
 property HttpTransportInformation ^ TransportInformation { HttpTransportInformation ^ get(); };
HttpTransportInformation TransportInformation();
public HttpTransportInformation TransportInformation { get; }
var httpTransportInformation = httpRequestMessage.transportInformation;
Public ReadOnly Property TransportInformation As HttpTransportInformation

Property Value

Information about the underlying transport socket used by an HTTP connection.

Remarks

The primary use of the TransportInformation property is to get SSL information when SSL is used for the HTTP connection. This is commonly used to get the SSL certificate from the server or to view a list of errors that occurred when making an SSL connection.

Applies to