locked
How to create virtual port in c#? RRS feed

  • Question

  • I am currently working on a project where i need to create virtual port using c#.

    Is it possible ?

    Any help on this would be highly welcomed.

    Thanks in anticipation.

    • Moved by Karl ReinschMicrosoft employee Wednesday, June 23, 2010 3:53 PM question not about Workflow Foundation (From:.NET 3.0/3.5 Windows Workflow Foundation)
    Wednesday, June 23, 2010 12:17 PM

Answers

  • Hi RohitBelsare,

      I'm sorry for delay. At this time I know you want create a virtual port through .net library. If I'm not misunderstanding. I'll suggest you use SerialPort Class

      Please refer to http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx get more information.

      Here's a example for you http://msmvps.com/blogs/coad/archive/2005/03/23/39466.aspx

       Hope it helps! :D   If you still have any doubt and concern about this issue, please let me know. If I misunderstood you, please kindly elaborate your question.


    Please Mark as Answered If this is helpful Or Un-Mark as Answered if it is not helpful.

    Best Regards,
    Yan Jun
    Microsoft Online Community Support

    • Marked as answer by Fafafaalex Wednesday, June 30, 2010 2:17 AM
    Tuesday, June 29, 2010 12:07 PM

All replies

  • duplicate of http://social.msdn.microsoft.com/Forums/en-US/clr/thread/a0b9a9b2-9491-42ca-a388-5388ce7d3aef

    The following is signature, not part of post
    Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
    Visual C++ MVP
    Wednesday, June 23, 2010 7:28 PM
  • Hi Rohit,

       Welcome to MSDN forums! I'm glad to see your active participation and discussion in MSDN forums. Based on your issue there are some ways to solve your issue please refer to 

      http://franson.com/serialtools/

      http://www.eltima.com/fr/products/vspdxp/

      http://msdn.microsoft.com/en-us/library/ms863325

      Hope this will help you!  

       If you still have any doubt and concern about this issue, please let me know. If I misunderstood you, please kindly elaborate your question.

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


    Please Mark as Answered If this is helpful Or Un-Mark as Answered if it is not helpful.

    Best Regards,
    Yan Jun
    Microsoft Online Community Support

    Thursday, June 24, 2010 3:50 AM
  • Hi Yan,

     

    Thanks for the reply.The links that you have posted are about the third party software which are used to create a virtual port.My query is that is it possible to design such software on our own in c# in XP.

     

    Does c# have this facility to do this?

    One of the links that you have given is for WIN CE

    Thursday, June 24, 2010 4:34 AM
  • Hi RohitBelsare,

      I'm sorry for delay. At this time I know you want create a virtual port through .net library. If I'm not misunderstanding. I'll suggest you use SerialPort Class

      Please refer to http://msdn.microsoft.com/en-us/library/system.io.ports.serialport.aspx get more information.

      Here's a example for you http://msmvps.com/blogs/coad/archive/2005/03/23/39466.aspx

       Hope it helps! :D   If you still have any doubt and concern about this issue, please let me know. If I misunderstood you, please kindly elaborate your question.


    Please Mark as Answered If this is helpful Or Un-Mark as Answered if it is not helpful.

    Best Regards,
    Yan Jun
    Microsoft Online Community Support

    • Marked as answer by Fafafaalex Wednesday, June 30, 2010 2:17 AM
    Tuesday, June 29, 2010 12:07 PM