다음을 통해 공유


NDTCPMessenger 클래스

정의

TCP 네트워크 프로토콜을 사용하여 PlayReady-ND 메시지 및 챌린지를 보냅니다.

public ref class NDTCPMessenger sealed : INDMessenger
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.INDTCPMessengerFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
class NDTCPMessenger final : INDMessenger
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.INDTCPMessengerFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class NDTCPMessenger final : INDMessenger
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Protection.PlayReady.INDTCPMessengerFactory, 65536, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Deprecated("NDTCPMessenger is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
class NDTCPMessenger final : INDMessenger
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.INDTCPMessengerFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public sealed class NDTCPMessenger : INDMessenger
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.INDTCPMessengerFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class NDTCPMessenger : INDMessenger
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Protection.PlayReady.INDTCPMessengerFactory), 65536, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Deprecated("NDTCPMessenger 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 NDTCPMessenger : INDMessenger
function NDTCPMessenger(remoteHostName, remoteHostPort)
Public NotInheritable Class NDTCPMessenger
Implements INDMessenger
상속
Object Platform::Object IInspectable NDTCPMessenger
특성
구현

Windows 요구 사항

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

생성자

NDTCPMessenger(String, UInt32)

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

메서드

SendLicenseFetchRequestAsync(Byte[], Byte[])

지정된 데이터를 비동기 라이선스 페치 요청 메시지로 보냅니다.

SendProximityDetectionResponseAsync(NDProximityDetectionType, Byte[], Byte[], Byte[])

지정된 데이터를 비동기 근접 검색 응답 메시지로 보냅니다.

SendProximityDetectionStartAsync(NDProximityDetectionType, Byte[], Byte[], Byte[])

비동기 근접 검색 시작 메시지에서 지정된 데이터를 보냅니다.

SendRegistrationRequestAsync(Byte[], Byte[])

비동기 등록 요청 메시지에서 지정된 데이터를 보냅니다.

적용 대상

추가 정보