Freigeben über


NDCustomData Klasse

Definition

Enthält die benutzerdefinierten Daten für eine der folgenden PlayReady-ND-Nachrichten: Registrierungsanforderung, Registrierungsantwort, Lizenzabrufanforderung oder Lizenzabrufantwort.

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
Vererbung
Object Platform::Object IInspectable NDCustomData
Attribute
Implementiert

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Konstruktoren

NDCustomData(Byte[], Byte[])

Erstellt eine neue instance der NDCustomData-Klasse.

Eigenschaften

CustomData

Ruft die benutzerdefinierten Daten ab.

CustomDataTypeID

Ruft den 16-Byte-Typbezeichner für die benutzerdefinierten Daten ab.

Gilt für:

Weitere Informationen