CommunicatorSend(ByteBuffer, ByteBuffer, CancellationToken) Method
Sends data to a remote device and returns. This method does not wait for a response.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
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