You must Sign In to post a response.

How to use SerialPort.DataReceived Event in C#.Net 2005?

I am developing a windows application in C#.Net 2005.
Here I want to send and receive data through serial port.
I know how to write the data on serial port. And also I can read it when I click one "Read Button".
But I want to create this application similar to our Hyperterminal.

i.e. When data is received it is aboutmatically read.
For this there is an event in SerialPort class called DataReceived.
But I don't know how to use it?


#199264    Author:    07 Mar 2008 Member Level: Gold   Points : 2

Check the below link:

Thanks -- Vijaya Kadiyala
Microsoft MVP

This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.