Http​Transport​Information Http​Transport​Information Http​Transport​Information Class

Definition

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

public sealed class HttpTransportInformation : IStringable, IHttpTransportInformationpublic sealed class HttpTransportInformation : IStringable, IHttpTransportInformationPublic NotInheritable Class HttpTransportInformation Implements IStringable, IHttpTransportInformation
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

Properties

ServerCertificate ServerCertificate ServerCertificate

Gets the certificate from the server with the SSL information.

public Certificate ServerCertificate { get; }public Certificate ServerCertificate { get; }Public ReadOnly Property ServerCertificate As Certificate
Value
Certificate Certificate Certificate

The certificate from the server with the SSL information.

Attributes

Remarks

This property gets the server certificate used for an SSL connection. This certificate is provided by the server during the SSL connection negotiation. The properties on the Certificate object returned can be used to determine detailed information on the certificate.

This property is useful for notifying the user why an SSL connection failed.

This property can also be used to enforce stronger security than the default connection using the Certificate object returned. The BuildChainAsync methods and other properties on the Certificate object and methods on the CertificateChain object can be used when an app requires stronger security than the standard SSL negotiation.

ServerCertificateErrors ServerCertificateErrors ServerCertificateErrors

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

public IVectorView<ChainValidationResult> ServerCertificateErrors { get; }public IVectorView<ChainValidationResult> ServerCertificateErrors { get; }Public ReadOnly Property ServerCertificateErrors As IVectorView<ChainValidationResult>
Value

The list of errors that occurred making an SSL connection.

Attributes

ServerCertificateErrorSeverity ServerCertificateErrorSeverity ServerCertificateErrorSeverity

Gets the category of an error on an SSL connection.

public SocketSslErrorSeverity ServerCertificateErrorSeverity { get; }public SocketSslErrorSeverity ServerCertificateErrorSeverity { get; }Public ReadOnly Property ServerCertificateErrorSeverity As SocketSslErrorSeverity
Value
SocketSslErrorSeverity SocketSslErrorSeverity SocketSslErrorSeverity

The category of error on an SSL connection.

Attributes

Remarks

SSL server errors should only be ignored in advanced scenarios. Disregarding server certificate errors when the ServerCertificateErrorSeverity property is either Ignorable or Fatal may result in the loss of privacy or integrity of the content passed over the SSL session.

ServerIntermediateCertificates ServerIntermediateCertificates ServerIntermediateCertificates

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

public IVectorView<Certificate> ServerIntermediateCertificates { get; }public IVectorView<Certificate> ServerIntermediateCertificates { get; }Public ReadOnly Property ServerIntermediateCertificates As IVectorView<Certificate>
Value

The set of certificates sent by the server during SSL negotiation on this HttpTransportInformation object.

Attributes

Remarks

This property returns the intermediate server certificates used for an SSL connection. These certificates are provided by the server during the SSL connection negotiation. The properties on the Certificate objects in the returned vector can be used to determine detailed information on the certificates.

This property can also be used to enforce stronger security than the default connection using the Certificate objects returned. The BuildChainAsync methods and other properties on the Certificate objects and methods on the CertificateChain object can be used when an app requires stronger security than the standard SSL negotiation.

Methods

ToString() ToString() ToString()

Returns a string that represents the current HttpTransportInformation object.

public PlatForm::String ToString()public string ToString()Public Function ToString() As string
Returns
string string string

A string that represents the current object.

Attributes