This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I get Processor ID/CPU ID in java application?  RSS feed

 
Amita Shiroya
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to get Processor Serial Number or Processor ID, CPU ID, Mother Board information or ID, or any other Hardware related information in Java Application.

If anyone has found Java Code related to get these information, than please let me know.

Thanks in Advance.

Thanks,
Amita. ops:
 
Carey Evans
Ranch Hand
Posts: 225
Debian Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which OS do you want it to work with? Under Linux, you can read all the files under /proc as normal text files. Under Windows, you can look at the PROCESSOR_IDENTIFIER environment variable, etc., or look for a way to access WMI from Java.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!