Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Java
  4. MainboardSN & HarddiskSn

MainboardSN & HarddiskSn

Scheduled Pinned Locked Moved Java
questionjavahelp
3 Posts 3 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mazizi
    wrote on last edited by
    #1

    hi i want to get main board serial & hard disk serial number with java. how can i? please help me thanks.

    L W 2 Replies Last reply
    0
    • M mazizi

      hi i want to get main board serial & hard disk serial number with java. how can i? please help me thanks.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I searched Google and found this[^]. Maybe you could try that first in future?

      1 Reply Last reply
      0
      • M mazizi

        hi i want to get main board serial & hard disk serial number with java. how can i? please help me thanks.

        W Offline
        W Offline
        W4Rl0CK47
        wrote on last edited by
        #3

        If you're running your code ONLY on windows,, easiest way is to use a WMI Script. If you also want to run it on other platforms too, you need to dig deep with C++ and connect it with java using native methods because java don't have low level access to hardware. Try the link below. it uses the WMI script on a VB script which is dynamically written to a file and executed. http://www.rgagnon.com/javadetails/java-0580.html[^] On both codes, scripts are on a temp file. And after the file is closed, temp file is deleted automatically because of the call to file.deleteOnExit();

        ---W4Rl0CK---

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups