一款简单易用的基础网络通讯组件库。

SerialPortOptionHandshake 属性

Gets or sets the handshaking protocol for serial port transmission of data using a value from Handshake.

Definition

命名空间: TouchSocket.SerialPorts
程序集: TouchSocket.SerialPorts (在 TouchSocket.SerialPorts.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public Handshake Handshake { get; set; }

返回值

Handshake
One of the Handshake values. The default is None.

异常

IOExceptionThe port is in an invalid state. -or- An attempt to set the state of the underlying port failed. For example, the parameters passed from this SerialPort object were invalid.
ArgumentOutOfRangeExceptionThe value passed is not a valid value in the Handshake enumeration.

参见