I have a winform program that does some asynchronous IO on a SerialPort
. However, I\'m periodically running into an issue with the program freezing on the SerialPo
I had a same problem. I solved this problem by using SerialPortStrem library. You can install by Nuget Pageckage Installer.
SerialportStream libary has the following advantages.
After using SerialPortStream library, I hadn't UI freezing problem such as deadlock in WPF. I think the same issue in Windows forms. so, use the SerialPortStream library.
This library is obviously a solution to solve the UI Freezing.