Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Get motherboard serial Number of local system.

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Related to this one
https://coderanch.com/t/426994/Java-General-intermediate/Product-security

Also definitely not a beginner.
Please continue discussions on the other thread.
Closing this one
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic