This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes retrieving windows device manager info Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "retrieving windows device manager info" Watch "retrieving windows device manager info" New topic

retrieving windows device manager info

Naadir Peterson
Ranch Hand

Joined: Sep 22, 2004
Posts: 37

Is there any way to get the info of the a pc similar to the device manager. The system.getProperties() method only returns the o/s info etc. I need the hardware of a pc.

David Mace
Ranch Hand

Joined: May 26, 2004
Posts: 35
It's not directly possible in Java because the language is not that low-level. If you want machine-specific information, you'll need to either obtain or write yourself some native code and make the necessary calls through JNI (Java Native Interface). It allows you to make platform-specific native calls so that you can retrieve the type of information you're looking for.

Google for JNI for a nice tutorial by sun


Dad always thought laughter was the best medicine, which I guess is why several of us died of tuberculosis. -Jack Handy
jQuery in Action, 2nd edition
subject: retrieving windows device manager info
Similar Threads
How can we get Driver Info?
why should dataSource be used instead of Device Manager
"PACKET DATA NOT SUBSCRIBED" error when using J2ME sockets (GPRS)
Defining CSS for Blackberry and PC
problem with sound