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. The Lounge
  3. Simulate the XP activation thing

Simulate the XP activation thing

Scheduled Pinned Locked Moved The Lounge
c++tutorialquestion
14 Posts 7 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.
  • N Nish Nishant

    Hey guys I need to generate a code that uniquely identifies a machine. I thought of the following things :- Hard disk serial number of C Size of C partition Amount of RAM [dunno how to get this] Processor type Num of processors What else do I need??? REgards Nish


    Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

    R Offline
    R Offline
    Rama Krishna Vavilala
    wrote on last edited by
    #2

    I posted a question in ATL mailing list regarding this long time back. There was a good bit discussion on this, you can refer to the following thread. Only New Window (High degree of probability that Paul would not use this). The following site http://www.licenturion.com/xp/ has some interesting info.

    N 1 Reply Last reply
    0
    • N Nish Nishant

      Hey guys I need to generate a code that uniquely identifies a machine. I thought of the following things :- Hard disk serial number of C Size of C partition Amount of RAM [dunno how to get this] Processor type Num of processors What else do I need??? REgards Nish


      Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

      C Offline
      C Offline
      Chris Maunder
      wrote on last edited by
      #3

      Look in the system section for a bunch of code to get hardware specs. cheers, Chris Maunder

      N 1 Reply Last reply
      0
      • N Nish Nishant

        Hey guys I need to generate a code that uniquely identifies a machine. I thought of the following things :- Hard disk serial number of C Size of C partition Amount of RAM [dunno how to get this] Processor type Num of processors What else do I need??? REgards Nish


        Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

        E Offline
        E Offline
        Ed Gadziemski
        wrote on last edited by
        #4

        Please don't use the hard drive serial number or C: partition size. Disk drives are repartitioned and sometimes fail. It would be most annoying to have software not work or be uninstallable after a hard drive change. How about the serial number(s) from the CPU chips? Intel processors are serialized.

        N 1 Reply Last reply
        0
        • C Chris Maunder

          Look in the system section for a bunch of code to get hardware specs. cheers, Chris Maunder

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #5

          Chris Maunder wrote: Look in the system section for a bunch of code to get hardware specs. Thanks Chris! I'll chk them out! Nish


          Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

          1 Reply Last reply
          0
          • E Ed Gadziemski

            Please don't use the hard drive serial number or C: partition size. Disk drives are repartitioned and sometimes fail. It would be most annoying to have software not work or be uninstallable after a hard drive change. How about the serial number(s) from the CPU chips? Intel processors are serialized.

            N Offline
            N Offline
            Nish Nishant
            wrote on last edited by
            #6

            Ed Gadziemski wrote: Please don't use the hard drive serial number or C: partition size. Disk drives are repartitioned and sometimes fail. It would be most annoying to have software not work or be uninstallable after a hard drive change. Hmmm. yeah, that's a very good point. Thanks Nish


            Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

            1 Reply Last reply
            0
            • R Rama Krishna Vavilala

              I posted a question in ATL mailing list regarding this long time back. There was a good bit discussion on this, you can refer to the following thread. Only New Window (High degree of probability that Paul would not use this). The following site http://www.licenturion.com/xp/ has some interesting info.

              N Offline
              N Offline
              Nish Nishant
              wrote on last edited by
              #7

              Thanks Rama! Chkin them out now :-) Nish


              Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

              1 Reply Last reply
              0
              • N Nish Nishant

                Hey guys I need to generate a code that uniquely identifies a machine. I thought of the following things :- Hard disk serial number of C Size of C partition Amount of RAM [dunno how to get this] Processor type Num of processors What else do I need??? REgards Nish


                Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

                D Offline
                D Offline
                Daniel Turini
                wrote on last edited by
                #8

                The most reliable number, having the least chance of changing (but some cards can) is the MAC address. And it's suposed to be unique. It's used as a seed to GUID's random number generator. Crivo Automated Credit Assessment

                N 1 Reply Last reply
                0
                • D Daniel Turini

                  The most reliable number, having the least chance of changing (but some cards can) is the MAC address. And it's suposed to be unique. It's used as a seed to GUID's random number generator. Crivo Automated Credit Assessment

                  N Offline
                  N Offline
                  Nish Nishant
                  wrote on last edited by
                  #9

                  Daniel Turini wrote: The most reliable number, having the least chance of changing (but some cards can) is the MAC address. And it's suposed to be unique. It's used as a seed to GUID's random number generator. But, do all machines have network cards? Nish


                  Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

                  D 1 Reply Last reply
                  0
                  • N Nish Nishant

                    Daniel Turini wrote: The most reliable number, having the least chance of changing (but some cards can) is the MAC address. And it's suposed to be unique. It's used as a seed to GUID's random number generator. But, do all machines have network cards? Nish


                    Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

                    D Offline
                    D Offline
                    Daniel Turini
                    wrote on last edited by
                    #10

                    I think that a significant % of them have. For the others, you can fallback to another ID. Some modems have a serial number too. It's like the PIII CPUID mentioned above. Do all machines have a PIII or PIV ? Crivo Automated Credit Assessment

                    1 Reply Last reply
                    0
                    • N Nish Nishant

                      Hey guys I need to generate a code that uniquely identifies a machine. I thought of the following things :- Hard disk serial number of C Size of C partition Amount of RAM [dunno how to get this] Processor type Num of processors What else do I need??? REgards Nish


                      Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

                      J Offline
                      J Offline
                      Josef Schroettle
                      wrote on last edited by
                      #11

                      Hello Nish, it depends on what level of uniqueness you want to achieve and wether you have control over the hardware where your software is installed. The drawback by using hardware features is, that you will get flooded with 'update requests' from users which have (or at least claimed to have) upgraded the machine. There is no single unique feature which applies to all machines, processor serial numbers can be turned off in the BIOS, MAC addresses can be set in software (in some network cards). The best identification you can get is a dongle, but they are expensive... Microsoft is using the following features: - volume serial number string of system volume - network adapter MAC address string - CD-ROM drive hardware identification string - graphics adapter hardware identification string - CPU serial number string - harddrive hardware identification string - SCSI host adapter hardware identification string - IDE controller hardware identification string - processor model string - RAM size I guess to get at all that information takes some time to code and debug/test on a lot of different machines :eek: Sorry, I cannot provide a solution for you... Regards Josef Schroettle

                      N 1 Reply Last reply
                      0
                      • N Nish Nishant

                        Hey guys I need to generate a code that uniquely identifies a machine. I thought of the following things :- Hard disk serial number of C Size of C partition Amount of RAM [dunno how to get this] Processor type Num of processors What else do I need??? REgards Nish


                        Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

                        C Offline
                        C Offline
                        ColinDavies
                        wrote on last edited by
                        #12

                        Nish use a combinational approach like I did with VMTU that way when a hardware change or windows upgrade has been made you can verify it simply. For more info get in touch with me. Regardz Colin J Davies

                        Sonork ID 100.9197:Colin

                        More about me :-)

                        N 1 Reply Last reply
                        0
                        • C ColinDavies

                          Nish use a combinational approach like I did with VMTU that way when a hardware change or windows upgrade has been made you can verify it simply. For more info get in touch with me. Regardz Colin J Davies

                          Sonork ID 100.9197:Colin

                          More about me :-)

                          N Offline
                          N Offline
                          Nish Nishant
                          wrote on last edited by
                          #13

                          Colin Davies wrote: For more info get in touch with me. Okie DOkie :-) Nish


                          Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

                          1 Reply Last reply
                          0
                          • J Josef Schroettle

                            Hello Nish, it depends on what level of uniqueness you want to achieve and wether you have control over the hardware where your software is installed. The drawback by using hardware features is, that you will get flooded with 'update requests' from users which have (or at least claimed to have) upgraded the machine. There is no single unique feature which applies to all machines, processor serial numbers can be turned off in the BIOS, MAC addresses can be set in software (in some network cards). The best identification you can get is a dongle, but they are expensive... Microsoft is using the following features: - volume serial number string of system volume - network adapter MAC address string - CD-ROM drive hardware identification string - graphics adapter hardware identification string - CPU serial number string - harddrive hardware identification string - SCSI host adapter hardware identification string - IDE controller hardware identification string - processor model string - RAM size I guess to get at all that information takes some time to code and debug/test on a lot of different machines :eek: Sorry, I cannot provide a solution for you... Regards Josef Schroettle

                            N Offline
                            N Offline
                            Nish Nishant
                            wrote on last edited by
                            #14

                            Wow! That's a lot of useful information for me Josef Schroettle. Thanks a LOT :rose: Nish :-)


                            Regards, Nish Native CPian. Born and brought up on CP. With the CP blood in him.

                            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