Share via


NDLicenseFetchDescriptor(NDContentIDType, Byte[], INDCustomData) Constructor

Definition

Creates a new instance of the NDLicenseFetchDescriptor class.

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)

Parameters

contentIDType
NDContentIDType

The type of the content identifier.

contentIDBytes

Byte[]

byte[]

The content identifier.

licenseFetchChallengeCustomData
INDCustomData

The license fetch challenge custom data.

Attributes

Remarks

If the NDContentIDType parameter is equal to KeyID, the contentIDBytes parameter must be exactly 16 bytes in size.

Applies to