IPlayReadyLicense IPlayReadyLicense IPlayReadyLicense IPlayReadyLicense IPlayReadyLicense Interface


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.

Windows 10 requirements

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


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


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.


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

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