Share via


PlayReadyContentHeader Class

Definition

Represents the information in a PlayReady content header.

public ref class PlayReadyContentHeader sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.IPlayReadyContentHeaderFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.IPlayReadyContentHeaderFactory2, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class PlayReadyContentHeader final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.IPlayReadyContentHeaderFactory, 65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.IPlayReadyContentHeaderFactory2, 65536, "Windows.Foundation.UniversalApiContract")]
class PlayReadyContentHeader final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.IPlayReadyContentHeaderFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.IPlayReadyContentHeaderFactory2), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class PlayReadyContentHeader
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.IPlayReadyContentHeaderFactory), 65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.IPlayReadyContentHeaderFactory2), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class PlayReadyContentHeader
function PlayReadyContentHeader(dwFlags, contentKeyIds, contentKeyIdStrings, contentEncryptionAlgorithm, licenseAcquisitionUrl, licenseAcquisitionUserInterfaceUrl, customAttributes, domainServiceId)
Public NotInheritable Class PlayReadyContentHeader
Inheritance
Object Platform::Object IInspectable PlayReadyContentHeader
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Constructors

PlayReadyContentHeader(Byte[], Uri, Uri, String, Guid)

Initializes a new instance of the PlayReadyContentHeader class.

PlayReadyContentHeader(Byte[])

Initializes a new instance of the PlayReadyContentHeader class.

PlayReadyContentHeader(Guid, String, PlayReadyEncryptionAlgorithm, Uri, Uri, String, Guid)

Initializes a new instance of the PlayReadyContentHeader class.

PlayReadyContentHeader(UInt32, Guid[], String[], PlayReadyEncryptionAlgorithm, Uri, Uri, String, Guid)

Initializes a new instance of the PlayReadyContentHeader class.

Properties

CustomAttributes

Gets the custom data used by the content provider.

DecryptorSetup

Gets the decryptor setup value in the header if it is set.

DomainServiceId

Gets the domain service identifier in the header if it is set.

EncryptionType

Gets the content encryption type in the header if it is set.

HeaderWithEmbeddedUpdates

Gets a new content header that contains any embedded license updates that were available.

KeyId

Gets the content key identifier value if it is set.

KeyIds

Gets the content key identifier values if they are set.

KeyIdString

Gets the content key identifier string value if it is set.

KeyIdStrings

Gets the content key identifier string values if they are set.

LicenseAcquisitionUrl

Gets the license acquisition URL in the header if it is set.

LicenseAcquisitionUserInterfaceUrl

Gets the license acquisition user interface URL in the header if it is set.

Methods

GetSerializedHeader()

Retrieves the full PlayReady object as a byte array.

Applies to