Click here to Skip to main content
15,908,673 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How do I read data from different ports in asp.net web application.

We have attached multiple devices on the computer like weighing machine, thermal printer, barcode scanner & dot matrix printer.

Now, want to read or send the data to these ports simultaneously.

What I have tried:

Currently, we are using Windows Application for listening the port.
Posted
Comments
F-ES Sitecore 16-Jun-16 5:58am    
Are these devices attached to the web server itself, or the client computer? If the client computer then asp.net can't access client hardware, you'll need something running on the client machine to do that.
Member 12549424 16-Jun-16 6:56am    
All these devices are attached with the client side.
Richard Deeming 16-Jun-16 8:20am    
Then you're out of luck. Code running on the server cannot access hardware connected to the client.
xszaboj 16-Jun-16 8:48am    
you would have to create some kind of stream of data from client computer and consume that stream in you web app.

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