IPlayReadyLicense IPlayReadyLicense IPlayReadyLicense IPlayReadyLicense IPlayReadyLicense Interface

Definition

Contains information about a PlayReady license.

public : interface IPlayReadyLicense
struct winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense
public interface IPlayReadyLicense
Public Interface IPlayReadyLicense
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This interface could represent a single license or an entire chain of licenses depending on how the license enumeration was performed.

Properties

ChainDepth ChainDepth ChainDepth ChainDepth ChainDepth

Gets the chain depth of the license chain represented by the current IPlayReadyLicense interface.

DomainAccountID DomainAccountID DomainAccountID DomainAccountID DomainAccountID

Gets the domain account identifier to which this license is bound.

ExpirationDate ExpirationDate ExpirationDate ExpirationDate ExpirationDate

Gets the expiration date of the current license.

ExpireAfterFirstPlay ExpireAfterFirstPlay ExpireAfterFirstPlay ExpireAfterFirstPlay ExpireAfterFirstPlay

Gets the amount of time, in seconds, before the current license expires after the media is first played.

FullyEvaluated FullyEvaluated FullyEvaluated FullyEvaluated FullyEvaluated

Gets the state of the license.

UsableForPlay UsableForPlay UsableForPlay UsableForPlay UsableForPlay

Gets whether this license is usable for playback.

Methods

GetKIDAtChainDepth(UInt32) GetKIDAtChainDepth(UInt32) GetKIDAtChainDepth(UInt32) GetKIDAtChainDepth(UInt32) GetKIDAtChainDepth(UInt32)

Gets the key identifier (KID) of the license at the specified chain depth.