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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Any Function in VC++ that can retrive the Unique ID of my computer,

Any Function in VC++ that can retrive the Unique ID of my computer,

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
3 Posts 3 Posters 0 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi Guys, I would like to retrive the Unique ID of my computer in VC++ code. Can any one can help with the sample function to retrive the unique ID. :) Thank You. Regards .

    R S 2 Replies Last reply
    0
    • L Lost User

      Hi Guys, I would like to retrive the Unique ID of my computer in VC++ code. Can any one can help with the sample function to retrive the unique ID. :) Thank You. Regards .

      R Offline
      R Offline
      rocky_pulley
      wrote on last edited by
      #2

      What Unique ID? -- Rocky Dean Pulley

      1 Reply Last reply
      0
      • L Lost User

        Hi Guys, I would like to retrive the Unique ID of my computer in VC++ code. Can any one can help with the sample function to retrive the unique ID. :) Thank You. Regards .

        S Offline
        S Offline
        scott sanders
        wrote on last edited by
        #3

        I assume you're talking about the SID. Check out the NewSID program by Mark Russinovich over at SysInternals. It comes with the source code and should tell you way more than you were wanting to know. Excerpt from the article:

        A computer's SID is stored in the Registry's SECURITY hive under SECURITY\SAM\Domains\Account. This key has a value named F and a value named V. The V value is a binary value that has the computer SID embedded within it at the end of its data.

        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