如何使用javascript获取客户端系统硬盘的序列号? [英] How to get the serial number of the hard disk of the client system using javascript?

查看:382
本文介绍了如何使用javascript获取客户端系统硬盘的序列号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,
我正在使用C#.net,asp.net和.net框架2.
如何使用javascript获取客户端系统硬盘的序列号?

预先感谢,
George

Hi Friends,
I am using C#.net ,asp.net and .net framework 2.
How to get the serial number of the hard disk of the client system using javascript?

Thanks in advance,
George

推荐答案

使用javascript的客户端系统硬盘的序列号
在ASP.NET应用程序上工作时,服务器端的任何代码都将是Web服务器的代码. JavaScript是一种可能有用的客户端脚本语言.为了与客户端系统进行交互,您需要使用 ActiveX 控件或跳至 Silverlight .

选择一个适合您的.使用ActiveX,您将需要处理某些安全事项,并且仅针对IE.如果需要,可以在CodeProject上找到有关ActiveX的文章.
serial number of the hard disk of the client system using javascript
While working on a ASP.NET application, any code on server side would be of webserver. JavaScript is a client side scripting language that might help. In order to get/interact with client system, either you need to use ActiveX control or jump on to Silverlight.

Pick the one that suits you. With ActiveX you will have certain security things to handle and it will be only IE specific. If needed, articles on ActiveX is present here at CodeProject.


您可以使用WMI.

我是通过Google搜索找到的:

http://www.htmlforums.com/client-side- scripting/t-using-wmi-with-javascript-123787.html [ javascript wmi [ ^ ]
You can use WMI.

I found this with a google search:

http://www.htmlforums.com/client-side-scripting/t-using-wmi-with-javascript-123787.html[^]

that returned over 920,000 results using this search phrase

javascript wmi[^]


这篇关于如何使用javascript获取客户端系统硬盘的序列号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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