Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Get unique personal computer ID on Windows
QtWS25 Last Chance

Get unique personal computer ID on Windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 5.1k Views
  • 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
    mardzo
    wrote on last edited by mardzo
    #1

    I would like to obtain a PC ID with QT that will be unique only for the given computer on WINDOWS 10 OS. I have looked in the QSystemInfo class but i cant find anything that I can use. Any suggestions?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Are you talking about some Windows 10 function to do that?
      Something (maybe) new in windows?

      Like
      https://www.nextofwindows.com/the-best-way-to-uniquely-identify-a-windows-machine

      1 Reply Last reply
      1
      • M Offline
        M Offline
        mardzo
        wrote on last edited by
        #3

        My software will be running on Windows 10 OS on a PC. So, for examle, I would like my software to be able to obtain the unique CPU ID of that computer.

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Ok
          Not seen a Qt way but tons of info on the net
          http://stackoverflow.com/questions/10258662/unique-cpu-id-on-windows-via-c

          1 Reply Last reply
          1
          • A Offline
            A Offline
            AshkanV
            wrote on last edited by
            #5

            Hi to all
            As of Qt 5.11 there is a static function in QSysInfo class:
            QByteArray QSysInfo::machineUniqueId()
            https://doc.qt.io/qt-5/qsysinfo.html#machineUniqueId

            1 Reply Last reply
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved