StreamSocketInformation.ServerCertificateErrors Property
Definition
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.
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.