System.IO.Ports.Handshake Enumeration

Specifies the control protocol used in establishing a serial port communication for a System.IO.Ports.SerialPort object.

Syntax

public enum Handshake

Remarks

This enumeration is used with the SerialPort.Handshake property.

Members

Member NameDescription
None

No control is used for the handshake.

RequestToSend

Request-to-Send (RTS) hardware flow control is used. RTS signals that data is available for transmission. If the input buffer becomes full, the RTS line will be set to false. The RTS line will be set to true when more room becomes available in the input buffer.

RequestToSendXOnXOff

Both the Request-to-Send (RTS) hardware control and the XON/XOFF software controls are used.

XOnXOff

The XON/XOFF software control protocol is used. The XOFF control is sent to stop the transmission of data. The XON control is sent to resume the transmission. These software controls are used instead of Request to Send (RTS) and Clear to Send (CTS) hardware controls.

Requirements

Namespace: System.IO.Ports
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0