Forum Discussion
MMM-IT
Nov 09, 2023Copper Contributor
Problems under Windows 11 with normal Serial Port acess and with USB to Serial Access
Hello I encounter some problems under Windows 11 23H2 to access a simple Serial Port under .NET in C#. My earlier installations with Windows 10 and earlier worked fine with that code and since ...
HanErdem
Dec 14, 2024Copper Contributor
Hello, I solved this problem using a very different method. First, I downloaded a free serial port splitter. With this application, we will clone the real source COM port into two ports with the splitter. For example, the real source will be COM3, and the clones will be COM1 and COM2. Download Realterm.
- Set the serial port part of our code to COM1.
- Run our code and get the authorization error. Keep the terminal running.
- In Realterm, open the serial port to COM2 from the port tab.
- Close it after connecting.
- Make sure the terminal where you ran your code remains open.
- Change the COM1 part in our code to COM2 and save it.
- Congratulations, you have accessed your serial port secretly from Windows.
https://freeserialportsplitter.com/ https://sourceforge.net/projects/realterm/files/Realterm/2.0.0.70/Realterm_2.0.0.70_setup.exe/download
If I record a video, I will add the link here.