I have one more CDC related suggestion. [em]Read[/em] method works a bit differently in 4.3, it now throws “Operation timed out” exception.
Dim _cdc As New Cdc() Dim cdcBuffer(255) As Byte _cdc.Stream.ReadTimeout = 0 Do _cdc.Stream.Read(cdcBuffer, 0, 256) Loop
Using this peace of code, I will be getting exception almost every single time. As we know, handling exceptions are not efficient and will slow this loop significantly. I would like to suggest adding [em]BytesToRead[/em] property (SerialPort class has it).