System.IO.Ports Namespace
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Provides a managed API for accessing serial ports.
Classes
Class | 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
Delegate | 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
Enumeration | 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. |