| Author |
Get motherboard serial Number of local system.
|
Niraj Pendal
Greenhorn
Joined: Dec 15, 2008
Posts: 11
|
posted

0
|
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
|
posted

0
|
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
|
posted

0
|
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: 8436
|
posted

0
|
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
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
 |
|
|
subject: Get motherboard serial Number of local system.
|
|
|