PlayReadyHardwareDRMFeatures PlayReadyHardwareDRMFeatures PlayReadyHardwareDRMFeatures PlayReadyHardwareDRMFeatures PlayReadyHardwareDRMFeatures Enum

Definition

Indicates the valid list of hardware digital rights management (DRM) feature values that can be queried.

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

Fields

Aes128Cbc Aes128Cbc Aes128Cbc Aes128Cbc Aes128Cbc 3

Indicates the hardware supports AES128CBC encryption.

HardwareDRM HardwareDRM HardwareDRM HardwareDRM HardwareDRM 1

Hardware DRM is supported on the machine.

HEVC HEVC HEVC HEVC HEVC 2

Indicates the hardware supports High Efficiency Video Coding (HEVC)/H.265 codec.

Remarks

Starting with Windows 10, version 1709, you can detect support for AES128CBC hardware encryption on a device by calling PlayReadyStatics.CheckSupportedHardware and specifying the enumeration value Aes128Cbc. On previous versions of Windows 10, specifying this value will cause an exception to be thrown. For this reason, you should check for the presence of the enumeration value by calling ApiInformationIsApiContractPresent and specifying major contract version 5 before calling CheckSupportedHardware.

bool supportsAes128Cbc = ApiInformation.IsApiContractPresent("Windows.Foundation.UniversalApiContract", 5);

if (supportsAes128Cbc)
{
    supportsAes128Cbc = PlayReadyStatics.CheckSupportedHardware(PlayReadyHardwareDRMFeatures.Aes128Cbc);
}