Click or drag to resize
ISerialPort Methods

The ISerialPort type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes this serial port instance.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodOpen
Opens the port.
Public methodRead
Reads a number of bytes from the SerialPort input buffer and writes those bytes into a byte array at the specified offset.
Public methodReadAll
Reads all bytes from the SerialPort input buffer.
Public methodRunAsync
Run asynchronous operation.
Public methodStopAsync
Stop the asynchronous operation.
Public methodWrite
Writes a specified number of bytes to the serial port using data from a buffer.
Public methodWriteAll
Writes all bytes to the serial port.
Top
See Also