• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hard Drive Serial number  RSS feed

 
Dylan Margoczi
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there.

I need to get the Hard Drive serial number. The one from the manufacturer that can't be changed. It also needs to work on any platform. I see the only way to do this is through using JNI and writing it in c or c++. From the stuff I've found. this looks like a real mission (a real lot of work).
Does any one know where I could maybe get free source code or something for this.

Any help will be appreciated.
Thanks in advance.
 
Rob Spoor
Sheriff
Posts: 21048
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out JNA and the matching article on JavaWorld. That will make it somewhat easier, although you still have to use native methods - just not in C/C++.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!