Jaa


StreamSocketInformation.ServerCertificateErrors Property

Definition

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

public:
 property IVectorView<ChainValidationResult> ^ ServerCertificateErrors { IVectorView<ChainValidationResult> ^ get(); };
IVectorView<ChainValidationResult> ServerCertificateErrors();
public IReadOnlyList<ChainValidationResult> ServerCertificateErrors { get; }
var iVectorView = streamSocketInformation.serverCertificateErrors;
Public ReadOnly Property ServerCertificateErrors As IReadOnlyList(Of ChainValidationResult)

Property Value

The list of errors that occurred making an SSL connection.

Remarks

The ServerCertificateErrors property gets a vector of ChainValidationResult enumeration values of errors that occurred making an SSL connection with a StreamSocket.

SSL server certificate errors should only be ignored in advanced scenarios. Disregarding server certificate errors may result in the loss of privacy or integrity of the content passed over the SSL session.

Applies to

See also