PlayReadyHeader.AddEncryptionKeyInfo(IEncryptionKeyInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an IEncryptionKeyInfo to the header.
public void AddEncryptionKeyInfo (Microsoft.Media.Drm.IEncryptionKeyInfo keyInfo);
member this.AddEncryptionKeyInfo : Microsoft.Media.Drm.IEncryptionKeyInfo -> unit
Public Sub AddEncryptionKeyInfo (keyInfo As IEncryptionKeyInfo)
Parameters
- keyInfo
- IEncryptionKeyInfo
The encryption key info to add.
Exceptions
This PlayReadyHeader already has a IEncryptionKeyInfo and does not SupportsPerStreamKeys.