SerialPortOptionDtrEnable 属性
Gets or sets a value that enables the Data Terminal Ready (DTR) signal during serial communication.
命名空间: TouchSocket.SerialPorts程序集: TouchSocket.SerialPorts (在 TouchSocket.SerialPorts.dll 中) 版本:4.1.4.7+7f7e1f78093c99347956e09330d5d7aca1d2bdf2
public bool DtrEnable { get; set; }
Public Property DtrEnable As Boolean
Get
Set
member DtrEnable : bool with get, set
返回值
Boolean to enable Data Terminal Ready (DTR); otherwise,
. The default is
.
| IOException | The 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. |