PlayReadyHardwareDRMFeatures
PlayReadyHardwareDRMFeatures
PlayReadyHardwareDRMFeatures
PlayReadyHardwareDRMFeatures
Enum
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Indicates the valid list of hardware digital rights management (DRM) feature values that can be queried.
public : enum class PlayReadyHardwareDRMFeaturespublic enum PlayReadyHardwareDRMFeaturesPublic Enum PlayReadyHardwareDRMFeatures// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| Aes128Cbc Aes128Cbc Aes128Cbc Aes128Cbc | Prerelease. Indicates the hardware supports AES128CBC encryption. |
| HardwareDRM HardwareDRM HardwareDRM HardwareDRM | Hardware DRM is supported on the machine. |
| HEVC HEVC HEVC HEVC | 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);
}