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#
  4. how to get hardware unique serial no

how to get hardware unique serial no

Scheduled Pinned Locked Moved C#
hardwaretutorial
6 Posts 6 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.
  • U Offline
    U Offline
    umeshdaiya
    wrote on last edited by
    #1

    hi, i would like to know i can pick the hardware unique serial no for my applicaiton. i want to generate a code for unique pc so only one user can use my software. Thanks regards Umesh Daiya Web Developer

    R P B A 4 Replies Last reply
    0
    • U umeshdaiya

      hi, i would like to know i can pick the hardware unique serial no for my applicaiton. i want to generate a code for unique pc so only one user can use my software. Thanks regards Umesh Daiya Web Developer

      R Offline
      R Offline
      Rob Philpott
      wrote on last edited by
      #2

      AFAIK, there isn't a unique hardware number as such. Microsoft use a psuedo one which is built from things like hard disc serial numbers and such things and that's why if you upgrade your computer with new discs etc. you are sometimes asked to reactivate Windows. It looks like a new machine. You'll need to be prepared to take similiar steps if your customers do such things. Probably getting the serial number of the hard disc is close enough, think there's plenty on how to do that such as: http://www.eggheadcafe.com/articles/20021019.asp[^]

      Regards, Rob Philpott.

      1 Reply Last reply
      0
      • U umeshdaiya

        hi, i would like to know i can pick the hardware unique serial no for my applicaiton. i want to generate a code for unique pc so only one user can use my software. Thanks regards Umesh Daiya Web Developer

        P Offline
        P Offline
        PIEBALDconsult
        wrote on last edited by
        #3

        Then probably no one will use your software. Make your software free, perhaps as a beta, and see how many people actually want to use it before trying to do anything like that.

        G 1 Reply Last reply
        0
        • P PIEBALDconsult

          Then probably no one will use your software. Make your software free, perhaps as a beta, and see how many people actually want to use it before trying to do anything like that.

          G Offline
          G Offline
          GuyThiebaut
          wrote on last edited by
          #4

          I totally agree with you - nowadays you can get pretty much any software for free and unless you are creating enterprise level software, to sell to people who want everything to work on an iPad as well as their PC, your best bet is to make the software free and gain revenue from advertising on your download site.

          Continuous effort - not strength or intelligence - is the key to unlocking our potential.(Winston Churchill)
          1 Reply Last reply
          0
          • U umeshdaiya

            hi, i would like to know i can pick the hardware unique serial no for my applicaiton. i want to generate a code for unique pc so only one user can use my software. Thanks regards Umesh Daiya Web Developer

            B Offline
            B Offline
            Bernhard Hiller
            wrote on last edited by
            #5

            A previous employer of mine used the "Armadillo" system for such a thing (see http://www.siliconrealms.com/armadillo.php[^]). You can configure it such that it comes with a trial period of say 30 days - uninstalling an re-installing would not create another trial period. But I am not sure if it can be used now with .NET applications.

            1 Reply Last reply
            0
            • U umeshdaiya

              hi, i would like to know i can pick the hardware unique serial no for my applicaiton. i want to generate a code for unique pc so only one user can use my software. Thanks regards Umesh Daiya Web Developer

              A Offline
              A Offline
              Alan Balkany
              wrote on last edited by
              #6

              You can use the volume serial number, which is unique for your hard disk, i.e. every machine will have a different one.

              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