i want to make a web site which is able to control a hardware on a clients computer

感情迁移 提交于 2019-12-02 21:40:41

问题


  • running test on local host, the website coded with c#, is able to connect to the comm port and pass commands to the hardware just as done by hyperterminal software

  • if this website is uploaded/hosted this will not work, as the server doesnot have this harware connected to the comm port needed.

    one way is to ask the hosting company to set up a special computer for me with the hardware drivers etc.

    not possible.

      • defining hardware, the hardware is a remote control car.

so what is the solution?


回答1:


You can create a Silverlight Out of Browser application which can run with elevated rights.
Perhaps it is possible to access the COM Port with ActiveX, too. But that would be a Internet Explorer only solution.

I found this blog where someone managed to get that working.

http://tech-michael.blogspot.com/2009/12/silverlight-talking-to-arduino.html



来源:https://stackoverflow.com/questions/4478164/i-want-to-make-a-web-site-which-is-able-to-control-a-hardware-on-a-clients-compu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!