System.IO.Ports Namespace
Provides a managed API for accessing serial ports.
Classes
Name | Description | |
---|---|---|
Serial | Specifies a serial port. | |
SerialDataReceivedEventArgs | Provides data for the DataReceived event. | |
SerialErrorReceivedEventArgs | Prepares data for the ErrorReceived event. | |
SerialPort | Represents a serial port resource. |
Delegates
Name | Description | |
---|---|---|
SerialDataReceivedEventHandler | Represents the method that will handle the DataReceived event of a SerialPort object. | |
SerialErrorReceivedEventHandler | Represents the method that will handle the ErrorReceived event of a SerialPort object. |
Enumerations
Name | Description | |
---|---|---|
BaudRate | Defines a list of commonly supported serial communication rates (baud rates). One baud signifies one pulse per second. | |
Handshake | Specifies the control protocol used in establishing a serial port communication for a SerialPort object. | |
Parity | Specifies the parity bit for a SerialPort object. | |
SerialData | Specifies the type of character that was received on the serial port of the SerialPort object. | |
SerialError | Specifies errors that occur on the SerialPort object | |
StopBits | Specifies the number of stop bits used on the SerialPort object. |