IO. Ports Namespace
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains classes for controlling serial ports. The most important class, SerialPort, provides a framework for synchronous and event-driven I/O, access to pin and break states, and access to serial driver properties. It can be used to wrap Stream objects, allowing the serial port to be accessed by classes that use streams.
Provides data for the DataReceived event.
Prepares data for the ErrorReceived event.
Provides data for the PinChanged event.
Represents a serial port resource.
Specifies the control protocol used in establishing a serial port communication for a SerialPort object.
Specifies the parity bit for a SerialPort object.
Specifies the type of character that was received on the serial port of the SerialPort object.
Specifies errors that occur on the SerialPort object.
Specifies the type of change that occurred on the SerialPort object.
Specifies the number of stop bits used on the SerialPort object.
Represents the method that will handle the DataReceived event of a SerialPort object.
Represents the method that will handle the ErrorReceived event of a SerialPort object.
Represents the method that will handle the PinChanged event of a SerialPort object.
The namespace includes enumerations that simplify the control of serial ports, such as Handshake, Parity, SerialPinChange, and StopBits.