PlayReadyLicenseIterable Class

Definition

Exposes the PlayReadyLicense class iterator.

public ref class PlayReadyLicenseIterable sealed : IIterable<IPlayReadyLicense ^>
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.IPlayReadyLicenseIterableFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class PlayReadyLicenseIterable final : IIterable<IPlayReadyLicense>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.IPlayReadyLicenseIterableFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class PlayReadyLicenseIterable final : IIterable<IPlayReadyLicense>
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.IPlayReadyLicenseIterableFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class PlayReadyLicenseIterable : IEnumerable<IPlayReadyLicense>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.IPlayReadyLicenseIterableFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class PlayReadyLicenseIterable : IEnumerable<IPlayReadyLicense>
function PlayReadyLicenseIterable(contentHeader, fullyEvaluated)
Public NotInheritable Class PlayReadyLicenseIterable
Implements IEnumerable(Of IPlayReadyLicense)
Inheritance
Object Platform::Object IInspectable PlayReadyLicenseIterable
Attributes
Implements

Windows requirements

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

Remarks

The PlayReadyLicenseIterable class doesn't support in-memory licenses or headers with multiple KIDs (Key Identifiers).

Constructors

PlayReadyLicenseIterable()

Initializes a new instance of the PlayReadyLicenseIterable class.

PlayReadyLicenseIterable(PlayReadyContentHeader, Boolean)

Initializes a new instance of the PlayReadyLicenseIterable class.

Methods

First()

Returns an iterator that iterates over the items in the PlayReady license collection.

Applies to

See also