Share via


PlayReadyLicenseSession.CreateLicenseIterable Method

Definition

Creates a PlayReadyLicense class iterator that supports in-memory-only PlayReady licenses in addition to persisted licenses.

public:
 virtual PlayReadyLicenseIterable ^ CreateLicenseIterable(PlayReadyContentHeader ^ contentHeader, bool fullyEvaluated) = CreateLicenseIterable;
PlayReadyLicenseIterable CreateLicenseIterable(PlayReadyContentHeader const& contentHeader, bool const& fullyEvaluated);
public PlayReadyLicenseIterable CreateLicenseIterable(PlayReadyContentHeader contentHeader, bool fullyEvaluated);
function createLicenseIterable(contentHeader, fullyEvaluated)
Public Function CreateLicenseIterable (contentHeader As PlayReadyContentHeader, fullyEvaluated As Boolean) As PlayReadyLicenseIterable

Parameters

contentHeader
PlayReadyContentHeader

The content header used to locate associated licenses.

fullyEvaluated
Boolean

bool

Indicates whether evaluated license chains should be enumerated or if all licenses (including those that are unusable) should be enumerated. Set this parameter to true if evaluated license chains should be enumerated. Set this parameter to false if all licenses should be enumerated.

Returns

Implements

M:Windows.Media.Protection.PlayReady.IPlayReadyLicenseSession2.CreateLicenseIterable(Windows.Media.Protection.PlayReady.PlayReadyContentHeader,System.Boolean) M:Windows.Media.Protection.PlayReady.IPlayReadyLicenseSession2.CreateLicenseIterable(Windows.Media.Protection.PlayReady.PlayReadyContentHeader,bool)

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to