Udostępnij za pośrednictwem


StreamWebSocketInformation.ServerCertificateErrorSeverity Property

Definition

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

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

Property Value

The category of error on an SSL connection.

Implements

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

SSL server errors should only be ignored in advanced scenarios. Disregarding server certificate errors when this 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