CommunicatorWaitForStrings(String, String, CancellationToken) Method

Sends the content of data argument and waits until any string from specified list is received. Incomming data are returned in the data argument. Incoming bytes are transformed using InputEncoding.

Definition

Namespace: OddPrg.Communication
Assembly: OddPrg.Communication (in OddPrg.Communication.dll) Version: 2.0.0.2 (2.0.0.2)
C#
public void WaitForStrings(
	ref string data,
	string strList,
	CancellationToken cancelToken
)

Parameters

data  String
Buffer for outgoing/incomming data.
strList  String
Comma separated list of strings that could terminate waiting for response.
cancelToken  CancellationToken

See Also