MediaStreamSource.BeginDrmSetupDecryptor Method (Byte, Guid, Object)
Starts the process of creating a new decryptor.
Assembly: System.Windows (in System.Windows.dll)
protected void BeginDrmSetupDecryptor( byte DrmKeyRotationData, Guid KeyId, Object userState )
- 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.
- Type: System.Guid
The KeyID of the decryptor to create.
BeginDrmSetupDecryptor provides a mechanism to dynamically create decryptors.
A DrmSetupDecryptorCompleted event is raised when the operation is complete. If the AsyncCompletedEventArgs.Error property is null, then the setup was successful; otherwise, the setup failed and the AsyncCompletedEventArgs.Error property will contain an Exception object.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.