Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HttpTransportInformation Class

Definition

Namespace:
Windows.Web.Http

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Provides information about the underlying transport used by the HTTP connection.

public ref class HttpTransportInformation sealed : IStringable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class HttpTransportInformation final : IStringable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HttpTransportInformation final : IStringable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class HttpTransportInformation : IStringable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class HttpTransportInformation : IStringable
Public NotInheritable Class HttpTransportInformation
Implements IStringable
Inheritance
Object Platform::Object IInspectable HttpTransportInformation
Attributes
Implements

Windows requirements

Requirements Description
Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

The primary use of the HttpTransportInformation object is to get SSL information when SSL is used for the HTTP connection.

Properties

Name Description
ServerCertificate

Gets the certificate from the server with the SSL information.

ServerCertificateErrors

Gets the list of errors that occurred making an SSL connection.

ServerCertificateErrorSeverity

Gets the category of an error on an SSL connection.

ServerIntermediateCertificates

Gets the intermediate certificates sent by the server during SSL negotiation on this HttpTransportInformation object.

Methods

Name Description
ToString()

Returns a string that represents the current HttpTransportInformation object.

Applies to

See also


Feedback

Was this page helpful?