ASP.NET/Silverlight 控制 USB 设备 [英] ASP.NET/Silverlight Control USB Device

查看:30
本文介绍了ASP.NET/Silverlight 控制 USB 设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用某种 USB 设备(例如闪光灯)提醒用户有新消息.是否可以从 ASP.NET 或 Silverlight 控制 USB 设备?

I want to alert a user of a new message using some kind of USB device (e.g. a flashing light). Is it possible to control a USB device from ASP.NET or Silverlight?

推荐答案

您可以使用自定义 ActiveX 组件和网页中的一些 javascript 来完成此操作.

You could possibly do this using a custom ActiveX component and som javascript in your webpage.

或者,您可以使用在浏览器外模式下运行的 Silverlight 4 应用程序,但这可能不是您想要的.SL4 可以访问在浏览器外模式下运行的本地安装的 Com 组件,因此在这种情况下,这应该很容易做到.

Alternatively you could use a Silverlight 4 application running in out-of-browser mode, but that is probably not what you want. SL4 can access locally installed Com components it is is running in out-of-browser mode, so in that case this should be realtively easy to do.

这篇关于ASP.NET/Silverlight 控制 USB 设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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