I'd like to know if there is a way to get the Baud Rate
when it's connected on the RS232 port
BEFORE
you initialize the SerialPort
class and set it's values. Let me try to explain the reason for that...
Today, I'm working with two different RFID Reader
devices, each one works on a different BaudRate
, so if I set a wrong baudrate
when I create the SerialPort
class, it will read the card id all wrong, instead get the real card's id, it will get something like ????|W2???
.
Also, there's a possibilite that the device have a USB
port.
That's why I'd like to know the device's baud rate
before I instantiate the SerialPort
class.