How to read the hard disk serial number using java

Hi

How to read the hard disk serial number ,MAC Address and Processor Serial Number  using java code

Plz give some example code

Regards
praveen
vallabhaneni99Asked:
Who is Participating?
 
arun_kuttzCommented:
i saw a thread where they were discussing the same.... theyve got code posted at the end of the page to get the MAC address (it seems u need the command line tool "arp")..

http://forum.java.sun.com/thread.jspa?threadID=615562&messageID=3424234

-KuTtZ
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
hoomanvCommented:
0
 
hoomanvCommented:
Download the command line tool from: http://www.codeguru.com/Cpp/W-P/system/hardwareinformation/article.php/c2815
this tool can grab the HDD serial number.
run it from within your java app using Runtime.getRuntime().exec() and parse its output to get the thing you want
0
 
Mayank SAssociate Director - Product EngineeringCommented:
0
 
vallabhaneni99Author Commented:
hi all

Nobody suggested for how to get  processor serial number

0
 
hoomanvCommented:
>> hard disk serial number ,MAC Address and Processor Serial Number
>> Nobody suggested for how to get  processor serial number

I suggested for HDD SN, was my answer not suitable for you ?
0
 
CEHJCommented:
:-)

>>Nobody suggested for how to get  processor serial number

Trickier - you'd native code to do that AFAIK
0
 
objectsCommented:
That comment is a copy of what I already posted.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.