File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retrieving windows device manager info

 
Naadir Peterson
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.

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.

thanx
 
David Mace
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

David
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic