PlayReadyEncryptionAlgorithm PlayReadyEncryptionAlgorithm PlayReadyEncryptionAlgorithm PlayReadyEncryptionAlgorithm PlayReadyEncryptionAlgorithm Enum


Indicates the type of encryption algorithm specified in a PlayReady content header.

public : enum class PlayReadyEncryptionAlgorithm
enum class winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm : int32_t
public enum PlayReadyEncryptionAlgorithm
Public Enum PlayReadyEncryptionAlgorithm
var value = Windows.Media.Protection.PlayReady.PlayReadyEncryptionAlgorithm.aes128Cbc;
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Aes128Cbc Aes128Cbc Aes128Cbc Aes128Cbc Aes128Cbc

AES128CBC encryption.

Aes128Ctr Aes128Ctr Aes128Ctr Aes128Ctr Aes128Ctr

AES-128 Counter-mode encryption.

Cocktail Cocktail Cocktail Cocktail Cocktail

Cocktail encryption.

Uninitialized Uninitialized Uninitialized Uninitialized Uninitialized

The encryption method has not been set.

Unprotected Unprotected Unprotected Unprotected Unprotected

Content is not encrypted.

Unspecified Unspecified Unspecified Unspecified Unspecified

The encryption method is unspecified.


Starting with Windows 10, version 1709, this enumeration supports the values Aes128Cbc and Unspecified. On previous versions of Windows 10, some PlayReady APIs will thrown an exception if these values are used. For this reason, you should check for the presence of the enumeration value by calling ApiInformationIsApiContractPresent and specifying major contract version 5 before using the new enum values. For more information, see PlayReadyContentHeader and PlayReadyStatics.CheckSupportedHardware.