NDLicenseFetchDescriptor(NDContentIDType, Byte[], INDCustomData) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 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 個位元組。