how to delete available byte to be read in Comport?

Posted by Sudhakar_A under WPF on 1/14/2014 | Points: 10 | Views : 2628 | Status : [Member] | Replies : 1
I send packet and receive response packet to the com port.I want to delete the byte which is left to read from Com port.

Pls help me to sort out????


Posted by: Raja_89 on: 6/3/2014 [Member] Starter | Points: 25

Hai Sudakar
You can use
1.Discardinbuffer() and discardoutbuffer()
for more details

Sudhakar_A, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response