aspose file tools*
The moose likes Beginning Java and the fly likes Get motherboard serial Number of local system. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Get motherboard serial Number of local system.

Niraj Pendal
Greenhorn

Joined: Dec 15, 2008
Posts: 11
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

Joined: Mar 01, 2007
Posts: 80
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.


Chintan Patel, SCJP1.5, http://datewithjava.blogspot.com
Patel Chintan
Ranch Hand

Joined: Mar 01, 2007
Posts: 80
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

Joined: Jul 26, 2007
Posts: 9995
    
    7

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


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
Don't get me started about those stupid light bulbs.
 
subject: Get motherboard serial Number of local system.
 
Similar Threads
SdCard number
how many remaining?
Product security
how to get hard disk serial number using java
harddisk serial number