Hello everyone!
I would like to creat an Serial port C# application with Mono.
I'm searching an usefull example to writing an platform independent C# based Serial port example using Mono.
Can you help me?
Thanks in advance!
Sandor
Hello everyone!
I would like to creat an Serial port C# application with Mono.
I'm searching an usefull example to writing an platform independent C# based Serial port example using Mono.
Can you help me?
Thanks in advance!
Sandor
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Dhiraj PoojaryPosted Feb 7, 2024, 9:46 AM
Feel free to explore the following GitHub repositories this can help with that
https://github.com/topics/serialport?l=c%23
Jayraj ChhayaPosted Feb 5, 2024, 12:57 PM
you'll need to install Mono on your system.
Once you have Mono installed, you can use the
System.IO.Portsnamespace in C# to work with Serial ports. This namespace provides classes and methods to communicate with Serial ports in a platform-independent manner.Remember to handle exceptions appropriately when working with Serial ports, as they can throw exceptions for various reasons (e.g., port not found, permission denied, etc.).
Jithu ThomasPosted Feb 5, 2024, 9:18 AM
Defenitly,
here is an example: -