NDLicenseFetchDescriptor 类

定义

检索和设置用于提取 PlayReady-ND 许可证的属性。

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
继承
Object Platform::Object IInspectable NDLicenseFetchDescriptor
属性
实现

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

构造函数

NDLicenseFetchDescriptor(NDContentIDType, Byte[], INDCustomData)

创建 NDLicenseFetchDescriptor 类的新实例。

属性

ContentID

获取内容标识符。

ContentIDType

获取内容标识符的类型。

LicenseFetchChallengeCustomData

获取或设置许可证提取质询的自定义数据。

适用于

另请参阅