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. Guid
Qt 6.11 is out! See what's new in the release blog

Guid

Scheduled Pinned Locked Moved General and Desktop
8 Posts 4 Posters 2.5k 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.
  • V Offline
    V Offline
    viveksrivastava
    wrote on last edited by
    #1

    How to know MachineGuid?

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qxoz
      wrote on last edited by
      #2

      For windows OS you can read from registry:
      HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid
      but i think that GUID not unique as expected

      1 Reply Last reply
      0
      • V Offline
        V Offline
        viveksrivastava
        wrote on last edited by
        #3

        not accessable

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tzander
          wrote on last edited by
          #4

          Maybe you want to generate one and write it to your config file to use it from then on out?

          1 Reply Last reply
          0
          • V Offline
            V Offline
            viveksrivastava
            wrote on last edited by
            #5

            No, I want to read HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tzander
              wrote on last edited by
              #6

              Then why ask on a Qt forum? :)

              You can use the microsoft APIs for that, I imagine.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                andre
                wrote on last edited by
                #7

                Nope, QSettings can read from there just fine.

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  viveksrivastava
                  wrote on last edited by
                  #8

                  Thanks, I have already try QSettings and I easily read all other key in registry but in case of MachineGuid its return null.

                  1 Reply Last reply
                  0

                  • Login

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