다음을 통해 공유


NDCustomData 클래스

정의

등록 챌린지, 등록 응답, 라이선스 페치 챌린지 또는 라이선스 페치 응답과 같은 PlayReady-ND 메시지 중 하나에 대한 사용자 지정 데이터를 포함합니다.

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
상속
Object Platform::Object IInspectable NDCustomData
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

생성자

NDCustomData(Byte[], Byte[])

NDCustomData 클래스의 새 instance 만듭니다.

속성

CustomData

사용자 지정 데이터를 가져옵니다.

CustomDataTypeID

사용자 지정 데이터에 대한 16 바이트 형식 식별자를 가져옵니다.

적용 대상

추가 정보