Partager via


NDLicenseFetchDescriptor(NDContentIDType, Byte[], INDCustomData) Constructeur

Définition

Crée une instance de la classe 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)

Paramètres

contentIDType
NDContentIDType

Type de l’identificateur de contenu.

contentIDBytes

Byte[]

byte[]

Identificateur de contenu.

licenseFetchChallengeCustomData
INDCustomData

La demande de récupération de licence demande des données personnalisées.

Attributs

Remarques

Si le paramètre NDContentIDType est égal à KeyID, le paramètre contentIDBytes doit avoir une taille exacte de 16 octets.

S’applique à