开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜