CommunicatorConnect(String, CancellationToken) Method
Call this method to connect to a remote device. It must be called before any sending operation unless AutoConnect is set to true.
Namespace: OddPrg.CommunicationAssembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
public void Connect(
string message,
CancellationToken cancelToken
)
Parameters
- message String
- Message to display in a log. If it is null, standard "connecting" message is displayed.
- cancelToken CancellationToken