Java : Get computer Spec via computer-name
is there a way to get specs of a computer using Java just by giving the computer name.
cause i dont want to get only th开发者_C百科e specs of the pc that the app is currently running on.
Is it possible to get it remotely?
If the remove system is running Windows, and you have the appropriate privileges, you may be able to retrieve the information you want using a WMI library.
There's a comparison of Java WMI libraries http://www.vijaykandy.com/2009/09/windows-management-instrumentation-wmi-from-java/.
WMI is "Windows Management Instrumentation", and allows you to query remote Windows systems and perform certain management functions.
If you take this route, Scriptomatic is a great tool for browsing WMI classes.
No there is not. Even if "computer name" and "spec" were well defined terms, there is no widely supported protocol to interrogate a machine for such information and if there were, good security practices would demand disabling it.
精彩评论