This topic has not yet been rated - Rate this topic

SocketProtectionLevel enumeration

Specifies the protection level that represents the integrity and encryption for a StreamSocket object.

Syntax


public enum class SocketProtectionLevel

Attributes

VersionAttribute(NTDDI_WIN8)

Members

The SocketProtectionLevel enumeration has these members.

MemberValueDescription
PlainSocket | plainSocket0

A plain socket with no encryption.

Ssl | ssl1

A socket that must use the Secure Sockets Layer (SSL) for encryption. This value requires encryption and never allows a NULL cipher.

SslAllowNullEncryption | sslAllowNullEncryption2

A socket that prefers to use the Secure Sockets Layer (SSL) for encryption. This value prefers that full encryption be used, but allows a NULL cipher (no encryption) based on the server configuration.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

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

Metadata

Windows.winmd

DLL

Windows.Networking.dll

Capabilities

ID_CAP_NETWORKING [Windows Phone]

See also

StreamSocket
StreamSocketInformation.ProtectionLevel

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.