How to check Computer system information from web

2019-07-24 23:59发布

问题:

I am working on a program that i want to gather system information in order to determine if the computer is compatible with software. I would like to add the program to a website for visitors to check their machine. so far it had been uploaded to a web server. but instead of checking the users machine, it only checks the web server. Am i missing like a connect function or something to connect to the user machine, like possibly to connect to localhost or something of the sort. Any advice or help will be greatly appreciated. Thanks.

回答1:

You can't do that unless you have the client computer install your application.



回答2:

What sort of information are you looking to obtain from the client machine?

You can check the operating system client-side in Javascript:

http://www.programmersheaven.com/mb/java-script/215704/215704/how-to-retrieve-clients-system-info/

Unfortunately you can't check things like RAM, hard disk space without running on the client machine, so your installation package would need to verify these requirements.