?
Solved

How to read the hard disk serial number using java

Posted on 2006-05-10
10
Medium Priority
?
2,471 Views
Last Modified: 2012-08-14
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
0
Comment
Question by:vallabhaneni99
  • 3
  • 2
  • 2
  • +3
10 Comments
 
LVL 3

Expert Comment

by:arun_kuttz
ID: 16655376
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
 
LVL 86

Accepted Solution

by:
CEHJ earned 1500 total points
ID: 16655910
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 14

Expert Comment

by:hoomanv
ID: 16655914
0
 
LVL 14

Expert Comment

by:hoomanv
ID: 16656013
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
 
LVL 30

Expert Comment

by:Mayank S
ID: 16659684
0
 

Author Comment

by:vallabhaneni99
ID: 16673861
hi all

Nobody suggested for how to get  processor serial number

0
 
LVL 14

Expert Comment

by:hoomanv
ID: 16673866
>> 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
 
LVL 86

Expert Comment

by:CEHJ
ID: 16673914
:-)

>>Nobody suggested for how to get  processor serial number

Trickier - you'd native code to do that AFAIK
0
 
LVL 92

Expert Comment

by:objects
ID: 16679055
That comment is a copy of what I already posted.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses
Course of the Month14 days, 15 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question