Partager via


NDCustomData Classe

Définition

Contient les données personnalisées pour l’un des messages PlayReady-ND suivants : Défi d’inscription, Réponse d’inscription, Défi d’extraction de licence ou Réponse d’extraction de licence.

public ref class NDCustomData sealed : INDCustomData
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.INDCustomDataFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class NDCustomData final : INDCustomData
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.INDCustomDataFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class NDCustomData final : INDCustomData
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.INDCustomDataFactory, 65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Deprecated("NDCustomData is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
class NDCustomData final : INDCustomData
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.INDCustomDataFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class NDCustomData : INDCustomData
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.INDCustomDataFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class NDCustomData : INDCustomData
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.INDCustomDataFactory), 65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Deprecated("NDCustomData is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public sealed class NDCustomData : INDCustomData
function NDCustomData(customDataTypeIDBytes, customDataBytes)
Public NotInheritable Class NDCustomData
Implements INDCustomData
Héritage
Object Platform::Object IInspectable NDCustomData
Attributs
Implémente

Configuration requise pour Windows

Famille d’appareils
Windows 10 (introduit dans 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduit dans v1.0)

Constructeurs

NDCustomData(Byte[], Byte[])

Crée un instance de la classe NDCustomData.

Propriétés

CustomData

Obtient les données personnalisées.

CustomDataTypeID

Obtient l’identificateur de type 16 octets pour les données personnalisées.

S’applique à

Voir aussi