Bagikan melalui


NDTCPMessenger.SendRegistrationRequestAsync(Byte[], Byte[]) Metode

Definisi

Mengirim data yang ditentukan dalam pesan permintaan pendaftaran asinkron.

public:
 virtual IAsyncOperation<INDSendResult ^> ^ SendRegistrationRequestAsync(Platform::Array <byte> ^ sessionIDBytes, Platform::Array <byte> ^ challengeDataBytes) = SendRegistrationRequestAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<INDSendResult> SendRegistrationRequestAsync(winrt::array_view <byte> const& sessionIDBytes, winrt::array_view <byte> const& challengeDataBytes);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("INDMessenger is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<INDSendResult> SendRegistrationRequestAsync(winrt::array_view <byte> const& sessionIDBytes, winrt::array_view <byte> const& challengeDataBytes);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<INDSendResult> SendRegistrationRequestAsync(byte[] sessionIDBytes, byte[] challengeDataBytes);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("INDMessenger is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<INDSendResult> SendRegistrationRequestAsync(byte[] sessionIDBytes, byte[] challengeDataBytes);
function sendRegistrationRequestAsync(sessionIDBytes, challengeDataBytes)
Public Function SendRegistrationRequestAsync (sessionIDBytes As Byte(), challengeDataBytes As Byte()) As IAsyncOperation(Of INDSendResult)

Parameter

sessionIDBytes

Byte[]

byte[]

Pengidentifikasi sesi. Pengidentifikasi sesi harus 16 byte.

challengeDataBytes

Byte[]

byte[]

Data untuk pesan tantangan.

Mengembalikan

Hasil dari permintaan pendaftaran.

Penerapan

M:Windows.Media.Protection.PlayReady.INDMessenger.SendRegistrationRequestAsync(System.Byte[],System.Byte[]) M:Windows.Media.Protection.PlayReady.INDMessenger.SendRegistrationRequestAsync(byte[],byte[])
Atribut

Berlaku untuk

Lihat juga