CommunicatorWaitForChar(String, Char, CancellationToken) Method

Sends the content of data argument and waits until any char from charSet array is received. Incomming data are returned in the data argument.

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
C#
public void WaitForChar(
	ref string data,
	char[] charSet,
	CancellationToken cancelToken
)

Parameters

data  String
Buffer for outgoing/incomming data. It cannot be null.
charSet  Char
 
cancelToken  CancellationToken
 

See Also