Compartilhar via


NDTCPMessenger Classe

Definição

Envia mensagens e desafios do PlayReady-ND usando o protocolo de rede TCP.

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
Herança
Object Platform::Object IInspectable NDTCPMessenger
Atributos
Implementações

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v1.0)

Construtores

NDTCPMessenger(String, UInt32)

Cria uma nova instância da classe NDTCPMessenger .

Métodos

SendLicenseFetchRequestAsync(Byte[], Byte[])

Envia os dados especificados em uma mensagem de solicitação de busca de licença assíncrona.

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

Envia os dados especificados em uma mensagem de resposta de detecção de proximidade assíncrona.

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

Envia os dados especificados em uma mensagem inicial de detecção de proximidade assíncrona.

SendRegistrationRequestAsync(Byte[], Byte[])

Envia os dados especificados em uma mensagem de solicitação de registro assíncrona.

Aplica-se a

Confira também