IPlayReadyLicense Interface
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.
Contains information about a PlayReady license.
public interface class IPlayReadyLicense
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3997649998, 64060, 16717, 169, 242, 63, 252, 30, 248, 50, 212)]
struct IPlayReadyLicense
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(3997649998, 64060, 16717, 169, 242, 63, 252, 30, 248, 50, 212)]
public interface IPlayReadyLicense
Public Interface IPlayReadyLicense
- Derived
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Remarks
This interface could represent a single license or an entire chain of licenses depending on how the license enumeration was performed.
Properties
ChainDepth |
Gets the chain depth of the license chain represented by the current IPlayReadyLicense interface. |
DomainAccountID |
Gets the domain account identifier to which this license is bound. |
ExpirationDate |
Gets the expiration date of the current license. |
ExpireAfterFirstPlay |
Gets the amount of time, in seconds, before the current license expires after the media is first played. |
FullyEvaluated |
Gets the state of the license. |
UsableForPlay |
Gets whether this license is usable for playback. |
Methods
GetKIDAtChainDepth(UInt32) |
Gets the key identifier (KID) of the license at the specified chain depth. |