Delen via


NDLicenseFetchDescriptor Class

Definition

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

public ref class NDLicenseFetchDescriptor sealed : INDLicenseFetchDescriptor
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptorFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class NDLicenseFetchDescriptor final : INDLicenseFetchDescriptor
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptorFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class NDLicenseFetchDescriptor final : INDLicenseFetchDescriptor
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptorFactory, 65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Deprecated("NDLicenseFetchDescriptor is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
class NDLicenseFetchDescriptor final : INDLicenseFetchDescriptor
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptorFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class NDLicenseFetchDescriptor : INDLicenseFetchDescriptor
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptorFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class NDLicenseFetchDescriptor : INDLicenseFetchDescriptor
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.INDLicenseFetchDescriptorFactory), 65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Deprecated("NDLicenseFetchDescriptor is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public sealed class NDLicenseFetchDescriptor : INDLicenseFetchDescriptor
function NDLicenseFetchDescriptor(contentIDType, contentIDBytes, licenseFetchChallengeCustomData)
Public NotInheritable Class NDLicenseFetchDescriptor
Implements INDLicenseFetchDescriptor
Inheritance
Object Platform::Object IInspectable NDLicenseFetchDescriptor
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Constructors

NDLicenseFetchDescriptor(NDContentIDType, Byte[], INDCustomData)

Creates a new instance of the NDLicenseFetchDescriptor class.

Properties

ContentID

Gets the content identifer.

ContentIDType

Gets the type of the content identifier.

LicenseFetchChallengeCustomData

Gets or sets custom data for a license fetch challenge.

Applies to

See also