[C#] – SerialPort Connection – Send/Receive through COM Ports – Putty/ Null-Modem


Check out my new version of this video with FREE DOWNLOAD LINK!

How to code an app to send and receive data through COM ports on your system in C#.



  1. Hi thanks a lot
    ,, I want to send the message in Arabic language automatically through serial port ??
    ,, I want to send the message in Arabic I know it’s through ascii code but how can I write the instructions pls help

  2. Hi,

    kann ich damit auch Daten von einem CO2 Sensor empfangen/lesen, das eine RS232 Schnittstelle hat? Aber er sendet ja nicht direkt die CO2 werte , sondern Bits oder Asci Code (keine Ahnung).

    Wie geht man da vor?

    Wäre für deine Hilfe sehr dankbar.

  3. Hi,

    Is there is any way to automatically select connected serial port in dropdownlist ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????//

  4. Hi, I purchased your code on your website about Serial Port, and I added one more baud rate to be "115200". But after I send my command, I got the thrown exception like: An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll.     Do you have any idea why that is?

  5. Hi, I want to use the serial interface to communicate with my controller Roboteq DC1406, basically I just want to send command like "!G 1 500" and to see it move is short arm to the relative position. Do you think the serial interface in your tutorial can achieve this? thank you

  6. hi
    thanks for this video ……
    i wild like to receive and read sms message from serial port via C# but i can't receive sms , Can you help me and make small video tutorial how to receive and read SMS.
    note \ am using gsm module

  7. getting error when try to receive data . (An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll)
    on the line receive command     txtReceive.AppendText("["+dtn+"] "+"Received: "+sport.ReadExisting()+"n"); how can i fix this?

  8. Hello, I would like to ase you if using your application can send AT commands to a dial up modem and how can be done this?
    I mean if i write AT and and send it will the modem answer? Thanks in advance
    Great job your code!

  9. man, if  you are posting videos like this to the internet, please, at least try to speak loud enough or something, because i cant hear what you say sometimes, its like burgrlgrlgrlglrglrglrg ;f

  10. i have created a hardware to get digital data through usb. where does that binary data gets stored in pc and how to access it


Please enter your comment!
Please enter your name here