wood burning stoves 2.0
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 Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

Get motherboard serial Number of local system.

Niraj Pendal

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:

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#:

Call native method using JNI in Java:

And this link can help you to convert C# to Java: (Not Good idea..)

Here is link if you can use exec():
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10747

Related to this one

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!]
I agree. Here's the link: http://aspose.com/file-tools
subject: Get motherboard serial Number of local system.
It's not a secret anymore!