NDLicenseFetchDescriptor NDLicenseFetchDescriptor NDLicenseFetchDescriptor NDLicenseFetchDescriptor Class

Definition

Retrieves and sets properties used for fetching a PlayReady-ND license.

public : sealed class NDLicenseFetchDescriptor : INDLicenseFetchDescriptorpublic sealed class NDLicenseFetchDescriptor : INDLicenseFetchDescriptorPublic NotInheritable Class NDLicenseFetchDescriptor Implements INDLicenseFetchDescriptor// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Constructors

NDLicenseFetchDescriptor(NDContentIDType, Byte[], INDCustomData) NDLicenseFetchDescriptor(NDContentIDType, Byte[], INDCustomData) NDLicenseFetchDescriptor(NDContentIDType, Byte[], INDCustomData) NDLicenseFetchDescriptor(NDContentIDType, Byte[], INDCustomData)

Creates a new instance of the NDLicenseFetchDescriptor class.

public : NDLicenseFetchDescriptor(NDContentIDType contentIDType, Byte[] contentIDBytes, INDCustomData licenseFetchChallengeCustomData)public NDLicenseFetchDescriptor(NDContentIDType contentIDType, Byte[] contentIDBytes, INDCustomData licenseFetchChallengeCustomData)Public Sub New(contentIDType As NDContentIDType, contentIDBytes As Byte[], licenseFetchChallengeCustomData As INDCustomData)// You can use this method in JavaScript.
Parameters
contentIDType
NDContentIDType NDContentIDType NDContentIDType NDContentIDType

The type of the content identifier.

contentIDBytes
Byte[] Byte[] Byte[] Byte[]

The content identifier.

licenseFetchChallengeCustomData
INDCustomData INDCustomData INDCustomData INDCustomData

The license fetch challenge custom data.

Remarks

If the NDContentIDType parameter is equal to KeyID, the contentIDBytes parameter must be exactly 16 bytes in size.

Properties

ContentID ContentID ContentID ContentID

Gets the content identifer.

public : byte[] ContentID { get; }public byte[] ContentID { get; }Public ReadOnly Property ContentID As byte[]// You can use this property in JavaScript.
Value
byte[] byte[] byte[] byte[]

The content identifier.

ContentIDType ContentIDType ContentIDType ContentIDType

Gets the type of the content identifier.

public : NDContentIDType ContentIDType { get; }public NDContentIDType ContentIDType { get; }Public ReadOnly Property ContentIDType As NDContentIDType// You can use this property in JavaScript.
Value
NDContentIDType NDContentIDType NDContentIDType NDContentIDType

The content identifier type. This value can be KeyID, PlayReadyObject, or Custom.

LicenseFetchChallengeCustomData LicenseFetchChallengeCustomData LicenseFetchChallengeCustomData LicenseFetchChallengeCustomData

Gets or sets custom data for a license fetch challenge.

public : INDCustomData LicenseFetchChallengeCustomData { get; set; }public INDCustomData LicenseFetchChallengeCustomData { get; set; }Public ReadWrite Property LicenseFetchChallengeCustomData As INDCustomData// You can use this property in JavaScript.
Value
INDCustomData INDCustomData INDCustomData INDCustomData

The custom data from or for the license challenge.