问题
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.
来源:https://stackoverflow.com/questions/8680235/how-to-check-computer-system-information-from-web-server