MediaStreamSource.BeginDrmSetupDecryptor Method (Byte[], Guid)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Starts the process of creating a new decryptor.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- DrmKeyRotationData
- Type:
System.Byte
[]
A byte array that contains the DRM license data needed to setup the decryptor. DrmKeyRotationData is optional. If it is not required, pass in null.
- KeyId
- Type: System.Guid
The KeyID of the decryptor to create.
| Exception | Condition |
|---|---|
| ArgumentNullException | KeyId is Empty. |
| InvalidOperationException | The MediaStreamSource has not reached the MediaOpened state. |
Show: