CommunicatorSend(ByteBuffer, ByteBuffer, CancellationToken) Method

Sends data to a remote device and returns. This method does not wait for a response.

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
C#
public void Send(
	ByteBuffer data,
	ByteBuffer displayData,
	CancellationToken cancelToken
)

Parameters

data  ByteBuffer
Data to send.
displayData  ByteBuffer
Data that could be displayed in a log. If this parameter is null, bytes from data parameter will be displayed. It can be useful e.g. when sending a password.
cancelToken  CancellationToken

See Also