Creates new serial port instance.
Creates new serial port instance.
Creates new serial port instance.
Closing underlying serial port. You shouldn't use port after it closing.
Returns true if serial port was closed.
Sets the standard length of data bits per byte
Iterates over all bauds rate and tries to setup port with it.
Set the parity-checking protocol.
Returns current parity .
Fills up provided array with bytes from com port.
Set the baud rate for this serial port. Speed values are usually restricted to be 1200 * i ^ 2.
Returns current port speed. Can return BR_UNKNONW baud rate if speed was changed not by speed property or wreid errors are occured.
Set the number of stop bits
Converts serial port to it port name.
Writes down array of bytes to serial port.
Tries to enumerate all serial ports. While this usually works on Windows, it's more problematic on other OS. Posix provides no way to list serial ports, and the only option is searching through "/dev".
Main class encapsulating platform dependent files handles and algorithms to work with serial port.
You can open serial port only once, after calling close any nonstatic method will throw DeviceClosedException.
Note: Serial port enumerating is robust only on Windows, due other platform doesn't strictly bound serial port names.