Click here to Skip to main content
15,850,917 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have two separate applications (one is a web service and the other is a desktop application) that requires access to the the same serial port on the same computer but only one application can use the port at any particular time.
I need a simple logic on both applications that will determine when the port is free so that the application that need it can use it or wait for the port to be free.

P.S. : Both applications were written in c# .NET 4.0

Thanks for all suggestions and answers in advance.
Posted

1 solution

 
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