Freigeben über


EncryptionKeyInformation Class

Definition

Represents information about a content key in a given PlayReadyHeader.

public class EncryptionKeyInformation : Microsoft.Media.Drm.IEncryptionKeyInfo
type EncryptionKeyInformation = class
    interface IEncryptionKeyInfo
Public Class EncryptionKeyInformation
Implements IEncryptionKeyInfo
Inheritance
EncryptionKeyInformation
Implements

Remarks

Either an EncryptionKeyInformation or a ContentKey can be used in a PlayReadyHeader to get or set the content key information, but EncryptionKeyInformation is used when content key data is not available.

Constructors

EncryptionKeyInformation(Guid, ContentKeyType)

Initializes a new instance of the EncryptionKeyInformation class.

Properties

EncryptionType

Gets the ContentKeyType of the content key.

KeyId

Gets the key identifier of the content key.

KeyIdAsString

Gets the string representation of the key identifier of the content key.

Applies to