我想打一个网站,它能够控制客户计算机上的硬件 [英] i want to make a web site which is able to control a hardware on a clients computer

查看:151
本文介绍了我想打一个网站,它能够控制客户计算机上的硬件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  • 运行本地主机上测试,该网站用C#编码,能够命令连接到该通讯端口,并通过硬件,就像超级终端软件完成

  • 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

如果这个网站上传/托管这将无法工作,因为服务器亘古不具有此harware连接到所需的通讯端口。

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.

不可能的。



    • 定义硬件,硬件是一个远程控制汽车。

    所以如何解决?

    推荐答案

    您可以创建一个Silverlight脱离浏览器应用可以使用提升权限运行。结果
    也许有可能使用ActiveX来访问COM端口,太。但是,这将是一个Internet Explorer的唯一解决方案。

    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

    这篇关于我想打一个网站,它能够控制客户计算机上的硬件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆