Click here to Skip to main content
15,886,809 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have an application which I have to read and write data from a file using serial communication communication how it possible in C#.Please help.It can be dialog based application.Give some reference please please
Posted
Comments
OriginalGriff 12-Feb-13 6:00am    
Are you sure you mean what you say?
"Serial communication" means talking to devices outside the PC, files are normally inside the pc. You can't normally talk to a file with serial I/O
Can you clarify exactly what you are trying to do?
Jegan Thiyagesan 12-Feb-13 6:03am    
Can you elaborate your question, serial communications are between two interfaces, writing a file to a disk is using a file or stream writer. Are you trying to read data from an interface and write to the disk?
Guirec 12-Feb-13 6:12am    
I suppose you want to open communication with an external device using a serial port. Right?

1 solution

I suspect you really mean the FileStream classes[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900