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.

  Class 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.

  Delegate 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.

  Enumeration 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.
Show: