NDCustomData Class

Definition

Contains the custom data for one of the following PlayReady-ND messages: Registration Challenge, Registration Response, License Fetch Challenge, or License Fetch Response.

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
Inheritance
Object Platform::Object IInspectable NDCustomData
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Constructors

NDCustomData(Byte[], Byte[])

Creates a new instance of the NDCustomData class.

Properties

CustomData

Gets the custom data.

CustomDataTypeID

Gets the 16-byte type identifier for the custom data.

Applies to

See also