SocketProtectionLevel enumeration
Specifies the protection level that represents the integrity and encryption for a StreamSocket object.
Syntax
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 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
|
DLL |
|
|
Capabilities |
|
See also
Build date: 2/25/2013