Udostępnij za pośrednictwem


StreamSocketInformation.ServerCertificateErrorSeverity Property

Definition

Gets the category of an error that occurred making an SSL connection with a StreamSocket.

public:
 property SocketSslErrorSeverity ServerCertificateErrorSeverity { SocketSslErrorSeverity get(); };
SocketSslErrorSeverity ServerCertificateErrorSeverity();
public SocketSslErrorSeverity ServerCertificateErrorSeverity { get; }
var socketSslErrorSeverity = streamSocketInformation.serverCertificateErrorSeverity;
Public ReadOnly Property ServerCertificateErrorSeverity As SocketSslErrorSeverity

Property Value

The category of error on an SSL connection.

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.

Applies to

See also