Freigeben über


NDTCPMessenger Klasse

Definition

Sendet PlayReady-ND-Nachrichten und -Herausforderungen mithilfe des TCP-Netzwerkprotokolls.

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
Vererbung
Object Platform::Object IInspectable NDTCPMessenger
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

NDTCPMessenger(String, UInt32)

Erstellt eine neue instance der NDTCPMessenger-Klasse.

Methoden

SendLicenseFetchRequestAsync(Byte[], Byte[])

Sendet die angegebenen Daten in einer asynchronen Lizenzabrufanforderungsnachricht.

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

Sendet die angegebenen Daten in einer asynchronen Antwortnachricht für die Näherungserkennung.

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

Sendet die angegebenen Daten in einer Startmeldung für die asynchrone Näherungserkennung.

SendRegistrationRequestAsync(Byte[], Byte[])

Sendet die angegebenen Daten in einer asynchronen Registrierungsanforderungsnachricht.

Gilt für:

Weitere Informationen