SocketProtectionLevel enumeration

Expand
This topic has not yet been rated - Rate this topic

SocketProtectionLevel enumeration

[This documentation is preliminary and is subject to change.]

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

Syntax


var value = Windows.Networking.Sockets.SocketProtectionLevel.plainSocket;

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 Release Preview

Minimum supported server

Windows Server 2012

Namespace

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

Metadata

Windows.winmd

DLL

Windows.Networking.dll

See also

StreamSocket
StreamSocketControl.SslStrength

 

 

Build date: 5/22/2012

Did you find this helpful?
(1500 characters remaining)
Community Additions ADD