[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.
| Member | Value | Description |
|---|---|---|
| PlainSocket | plainSocket | 0 |
A plain socket with no encryption. |
| Ssl | ssl | 1 |
A socket that must use the Secure Sockets Layer (SSL) for encryption. This value requires encryption and never allows a NULL cipher. |
| SslAllowNullEncryption | sslAllowNullEncryption | 2 |
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 |
|
|
Metadata |
|
|
DLL |
|
See also
Build date: 5/22/2012
