Access Hardware Information from Web Browser

元气小坏坏 提交于 2019-12-06 15:13:34

问题


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?

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

Thank you!


回答1:


Javascript : Impossible;

.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 (vi a java applet): get OS-level system information.

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).

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.

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.



来源:https://stackoverflow.com/questions/8420636/access-hardware-information-from-web-browser

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