Bagikan melalui


NDCustomData Kelas

Definisi

Berisi data kustom untuk salah satu pesan PlayReady-ND berikut: Tantangan Pendaftaran, Respons Pendaftaran, Tantangan Pengambilan Lisensi, atau Respons Pengambilan Lisensi.

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
Warisan
Object Platform::Object IInspectable NDCustomData
Atribut
Penerapan

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v1.0)

Konstruktor

NDCustomData(Byte[], Byte[])

Membuat instans baru kelas NDCustomData .

Properti

CustomData

Mendapatkan data kustom.

CustomDataTypeID

Mendapatkan pengidentifikasi jenis 16-byte untuk data kustom.

Berlaku untuk

Lihat juga