NDLicenseFetchDescriptor(NDContentIDType, Byte[], INDCustomData) 构造函数

定义

创建 NDLicenseFetchDescriptor 类的新实例。

public:
 NDLicenseFetchDescriptor(NDContentIDType contentIDType, Platform::Array <byte> ^ contentIDBytes, INDCustomData ^ licenseFetchChallengeCustomData);
 NDLicenseFetchDescriptor(NDContentIDType const& contentIDType, winrt::array_view <byte> const& contentIDBytes, INDCustomData const& licenseFetchChallengeCustomData);
/// [Windows.Foundation.Metadata.Deprecated("INDLicenseFetchDescriptorFactory is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
 NDLicenseFetchDescriptor(NDContentIDType const& contentIDType, winrt::array_view <byte> const& contentIDBytes, INDCustomData const& licenseFetchChallengeCustomData);
public NDLicenseFetchDescriptor(NDContentIDType contentIDType, byte[] contentIDBytes, INDCustomData licenseFetchChallengeCustomData);
[Windows.Foundation.Metadata.Deprecated("INDLicenseFetchDescriptorFactory is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public NDLicenseFetchDescriptor(NDContentIDType contentIDType, byte[] contentIDBytes, INDCustomData licenseFetchChallengeCustomData);
function NDLicenseFetchDescriptor(contentIDType, contentIDBytes, licenseFetchChallengeCustomData)
Public Sub New (contentIDType As NDContentIDType, contentIDBytes As Byte(), licenseFetchChallengeCustomData As INDCustomData)

参数

contentIDType
NDContentIDType

内容标识符的类型。

contentIDBytes

Byte[]

byte[]

内容标识符。

licenseFetchChallengeCustomData
INDCustomData

许可证提取质询自定义数据。

属性

注解

如果 NDContentIDType 参数等于 KeyID,则 contentIDBytes 参数的大小必须正好为 16 个字节。

适用于