Connecting Tech Pros Worldwide Forums | Help | Site Map

Getting Hardware information of a computer like processor id

Newbie
 
Join Date: Apr 2009
Posts: 12
#1: May 10 '09
Hi,
I have developed a software.For licensing it i need to access a unique number of a computer like mother board id or processor id.
Is there a way to get this info.In C# we can use system.management to get this info.Is there anything similar to this in java.
If not How can i do this.

Thank you...
JosAH's Avatar
Expert
 
Join Date: Mar 2007
Posts: 10,611
#2: May 10 '09

re: Getting Hardware information of a computer like processor id


Java doesn't have any such thing; you have to write a bit of C or C++ code that can do the job, wrap it in a bit of JNI (Java Native Interface) code so that your Java program can use the information.

kind regards,

Jos
Newbie
 
Join Date: Apr 2009
Posts: 12
#3: May 11 '09

re: Getting Hardware information of a computer like processor id


Thank you for the reply. Will try it.
Reply

Tags
hardware information, mother board id, processor id


Similar Java bytes