Skip to main content

Submitted by Rahul.Sreedharan on 29 December 2020 - 5:30am
serial programming tutorial on windows /linux using CSharp (C#) and dot net framework and net core

In this tutorial we are going to learn How to program the serial port on a Windows/Linux PC using C# .

The main goals of the tutorial are

Develop a cross platform serial communication App using C# and .NET Core(3.1)/.Net 5 to communicate with a USB device over Virtual COM port.
Develop a serial communication App using C# and Dotnet Framework 4.5+ to communicate with a USB device over Virtual COM port.
How to control the RTS and DTR pins of Serial Port using C# and .Net Core(3.1)/.Net 5 /Dotnet Framework 4.5+.
All the codes listed here are designed to run on command line and is intended to highlight the core serial programming concepts.

 

If you are looking for a GUI based serial programming tutorial check the link below.