License.ContentEncryptionKey Property
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.
Gets or sets the ContentKey used to decrypt the content associated with this license.
public Microsoft.Media.Drm.ContentKey ContentEncryptionKey { get; set; }
member this.ContentEncryptionKey : Microsoft.Media.Drm.ContentKey with get, set
Public Property ContentEncryptionKey As ContentKey
Property Value
The ContentKey used to decrypt the content associated with this license.
Remarks
When the license is a KeyExchangeLicense, the "content associated with this license" is equal to the key passed to KeyExchangeRight(KeyExchangeAlgorithm, Byte[]). In this case, it must be set to a AESContentKey with a type of KeyExchange. The key used for the AESContentKey for a KeyExchangeLicense should not be used for any other purpose; Microsoft recommends randomly generating it every time such a license is constructed.