共用方式為


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 參數等於 KeyIDcontentIDBytes 參數的大小必須剛好是 16 個位元組。

適用於