how to control serial port of client in asp.net?

A

Adrian Chen

please help me! I come across a problem.
Now I develop a finger print management system which is based on B/S.When
users click a button in the web pages, a device connected to the COM1 serial
port of the client machine starts to work.
Now I wrote the code which is in charge of serial communication in the
..aspx.cx pages, but then I found that when uses click the button, it is the
server's serial port that starts to work,not the clients!!

who can tell me how I could control the serial port communication in client
through asp.net?

I am very nervous about it now!

Thank you very much!!!
 
A

Adrian Chen

Mark Rae, thank you very much!



Mark Rae said:
Obviously - ASP.NET runs on the server, not the client...


You have no chance whatsoever of doing this natively. All modern browsers
are designed specifically to prevent this sort of interaction with the
hardware / software on which the client browser is installed and running.

Your only option would be to use an ActiveX control. However, this would
restrict the browser to IE, and would mean that you will need to ramp the
browser security right down just to get it to work. I can't recommend this
at all.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,058
Messages
2,570,446
Members
47,118
Latest member
saliar khanbaba

Latest Threads

Top