Share via


IPlayReadyLicenseSession2 Interface

Definition

Provides the ability to enumerate in-memory-only PlayReady licenses in addition to persisted licenses.

public interface class IPlayReadyLicenseSession2 : IPlayReadyLicenseSession
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.Guid(1225375290, 15085, 18006, 138, 215, 238, 15, 215, 121, 149, 16)]
struct IPlayReadyLicenseSession2 : IPlayReadyLicenseSession
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.Guid(1225375290, 15085, 18006, 138, 215, 238, 15, 215, 121, 149, 16)]
public interface IPlayReadyLicenseSession2 : IPlayReadyLicenseSession
Public Interface IPlayReadyLicenseSession2
Implements IPlayReadyLicenseSession
Derived
Attributes
Implements

Windows requirements

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

Methods

ConfigureMediaProtectionManager(MediaProtectionManager)

Updates the media protection manger with the appropriate settings so the media foundation can be used for playback.

(Inherited from IPlayReadyLicenseSession)
CreateLAServiceRequest()

Creates a license acquisition service request whose license will be tied to the media session.

(Inherited from IPlayReadyLicenseSession)
CreateLicenseIterable(PlayReadyContentHeader, Boolean)

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

Applies to