Click or drag to resize
ISerialPort Methods

The ISerialPort type exposes the following members.

Methods
  NameDescription
Public methodDispose
Releases all resources used by the Component and initializes.
Public methodGetPortNames
Gets an array of serial port names or device names for the current computer.
Public methodOpen
Opens a new serial port connection.
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 methodReadTo
Reads a string up to the specified value in the input buffer.
Public methodWrite
Writes the specified string to the serial port.
Top
See Also