System.IO.Ports Namespace

Provides a managed API for accessing serial ports.

Classes

Name Description
Public Class Serial Specifies a serial port.
Public Class SerialDataReceivedEventArgs Provides data for the DataReceived event.
Public Class SerialErrorReceivedEventArgs Prepares data for the ErrorReceived event.
Public Class SerialPort Represents a serial port resource.

Delegates

Name Description
Public Delegate SerialDataReceivedEventHandler Represents the method that will handle the DataReceived event of a SerialPort object.
Public Delegate SerialErrorReceivedEventHandler Represents the method that will handle the ErrorReceived event of a SerialPort object.

Enumerations

Name Description
Public Enumeration BaudRate Defines a list of commonly supported serial communication rates (baud rates). One baud signifies one pulse per second.
Public Enumeration Handshake Specifies the control protocol used in establishing a serial port communication for a SerialPort object.
Public Enumeration Parity Specifies the parity bit for a SerialPort object.
Public Enumeration SerialData Specifies the type of character that was received on the serial port of the SerialPort object.
Public Enumeration SerialError Specifies errors that occur on the SerialPort object
Public Enumeration StopBits Specifies the number of stop bits used on the SerialPort object.