Bookmark Topic Watch Topic
  • New Topic

Get motherboard serial Number of local system.

 
Niraj Pendal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hey folks,

I want local machine's hardware information mainly motherboard serial number.
Application is running on Linux.

Is there any way so that I can get main board’s serial number without Running external commands “Runtime.getRuntime().exec()” .



Thanks in Advance.
 
Patel Chintan
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Report post to moderator
try to see this link, it may help you with direct java code:
http://dioscuri.sourceforge.net/docs/javadoc/index.html?nl/kbna/dioscuri/module/motherboard/Motherboard.html

other option is by native call.
 
Patel Chintan
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Report post to moderator
Here is how to retrieve serial numner in c#:
http://social.msdn.microsoft.com/forums/en-US/Vsexpressvb/thread/f393708f-d7e3-4aa3-a624-7e8c6662f343/


Call native method using JNI in Java:
http://www.ibm.com/developerworks/edu/j-dw-javajni-i.html


And this link can help you to convert C# to Java: (Not Good idea..)
http://www.scorm.com/pages/cs2j.aspx

Here is link if you can use exec():
http://www.rgagnon.com/javadetails/java-0580.html
 
Maneesh Godbole
Saloon Keeper
Posts: 11165
14
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Related to this one
http://www.coderanch.com/t/426994/Java-General-intermediate/Product-security

Also definitely not a beginner.
Please continue discussions on the other thread.
Closing this one
 
    Bookmark Topic Watch Topic
  • New Topic