从 Web 浏览器访问硬件信息 [英] Access Hardware Information from Web Browser

查看:39
本文介绍了从 Web 浏览器访问硬件信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有兴趣创建一个需要尽可能多地了解特定硬件(即计算机型号、CPU 型号、RAM 大小等)的网站.

I am interested in creating a website that needs to know as much specific hardware (ie computer model, cpu model, RAM size, etc) as possible.

你知道有什么方法可以找到这些信息吗?

Are you aware of any method to find out this information?

我了解 ActiveX 控件,但我更喜欢使用更灵活的方法.Javascript?ASP.NET?闪光?爪哇?银光?

I know about ActiveX controls, however I'd prefer to use a more flexible method. Javascript? Asp.NET? Flash? Java? Silverlight?

谢谢!

推荐答案

Javascript : Impossible;

Javascript : Impossible;

.Net/Silverlight(如果您开发非基于网络浏览器的应用程序):http://www.c-sharpcorner.com/uploadfile/dpatra/system-information-from-registry-in-silverlight-4/

.Net/Silverlight (If you develop a non-based web browser app) : http://www.c-sharpcorner.com/uploadfile/dpatra/system-information-from-registry-in-silverlight-4/

Java(通过 Java 小程序):获取操作系统级系统信息.

Java (vi a java applet): get OS-level system information.

ActionScript/Flash:我认为您无法获得所需的所有信息,但您可以获得可用的免费内存(文档).

ActionScript/Flash : I don't think you can get all the information you are looking for, but you can get the free available memory (documentation).

这里有更多信息,了解您可以通过的系统信息一个小程序.对于 RIA 应用程序,还有更多功能此处列出.我发现一个非常好的SO帖子可能是非常有用.

EDIT : Here is more information about the system information you can get through an applet. For a RIA application, there are more functionnalities listed here. I found a very good SO post that could be very useful.

要获取机器名称,最简单(唯一?)的方法是从 ip 中获取.因此,这里需要一种服务器语言.

To get the machine name, the easiest (only?) way to do so is to take it from the ip. So, a server language is needed here.

这篇关于从 Web 浏览器访问硬件信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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