SerialCommunicatorChangeDataBits Method

Change the parameter DataBits of the COM port.

Definition

Namespace: OddPrg.Communication.Serial
Assembly: OddPrg.Communication.Serial (in OddPrg.Communication.Serial.dll) Version: 2.0.0.2 (2.0.0.2)
C#
public bool ChangeDataBits(
	int dataBits,
	CancellationToken cancelToken
)

Parameters

dataBits  Int32
cancelToken  CancellationToken

Return Value

Boolean
True if success

Implements

ISerialPortChangeDataBits(Int32, CancellationToken)

See Also