PlayReadyLicenseIterable Class
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.
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
- 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. |