Windows Dev Center

StreamSocketInformation.ServerCertificateErrorSeverity | serverCertificateErrorSeverity property

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

Syntax


var serverCertificateErrorSeverity = streamSocketInformation.serverCertificateErrorSeverity;

Property value

Type: SocketSslErrorSeverity

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.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.winmd

See also

Other resources
How to use advanced socket controls (HTML)
How to use advanced socket controls (XAML)
Supporting proximity and tapping
Reference
ServerCertificate
ServerCertificateErrors
ServerIntermediateCertificates
SocketSslErrorSeverity
StreamSocket
StreamSocketInformation

 

 

Show:
© 2015 Microsoft