Answered Serial Port Communication Using C#.NET

  • Saturday, January 12, 2008 3:52 PM
     
     

    Hi

     

    I have one question regarding serial port

     

    My product which i developed in .net 2.0 [c#.net], i need to used serial port class and functionality to connect to remote machine or device i.e my has to connect and remote deivce and load the data and also i need UI Desing some interactive

     

    did any have tried serial port please complete overview with UI support

     

    thank a lot

    Orcas.King, USA

All Replies

  • Tuesday, January 15, 2008 6:54 AM
    Moderator
     
     Answered

    Hi,

     

    To use serial port in the .NET CF you can explore the SerialPort class in the System.IO.Ports namespace. A sample is available in its online document:

      http://msdn2.microsoft.com/en-us/library/system.io.ports.serialport.aspx

     

    For a complete example you can refer to this or that article.

     

    Best Regards

    Chunsheng Tang

  • Tuesday, August 07, 2012 4:29 AM
     
     

    My Aplication Requirements are:

    I am doing the scan of barcode in the first time,it will insert into database (no need to change the beep sound on scanner device). if it's exists in database ,Need to change the beep sound on scanner device


    i am able to receive data from serial port but not able to send response back to com port.

    Please help me to resolve this issue.


    Regards, Rajee