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. Generating an activation code to enable use of an application

Generating an activation code to enable use of an application

Scheduled Pinned Locked Moved C#
algorithmshelp
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.
  • A Offline
    A Offline
    AfzalHassen
    wrote on last edited by
    #1

    hi, i'm trying to find a way that i can manage the use of a windows application by making use of an activation code which be used to enable the application and allow the user to use it. i want to be able to generate a fixed length code of not more than 20 characters.. i have been unsucessfull in searching the web for guidance in this matter... any help or pointers to articles will be great.. Thanks , Afzal Hassen

    C 1 Reply Last reply
    0
    • A AfzalHassen

      hi, i'm trying to find a way that i can manage the use of a windows application by making use of an activation code which be used to enable the application and allow the user to use it. i want to be able to generate a fixed length code of not more than 20 characters.. i have been unsucessfull in searching the web for guidance in this matter... any help or pointers to articles will be great.. Thanks , Afzal Hassen

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      It's unlikely that many people will publish their approach to this, because they use it to protect their app. Look into the Cryptography namespace for ideas on established algorithms you can play with to come up with a way to create a code. If you do some sort of hash, never just use the users name, someone will work that out. Put some noise in there. Christian Graus - Microsoft MVP - C++

      L 1 Reply Last reply
      0
      • C Christian Graus

        It's unlikely that many people will publish their approach to this, because they use it to protect their app. Look into the Cryptography namespace for ideas on established algorithms you can play with to come up with a way to create a code. If you do some sort of hash, never just use the users name, someone will work that out. Put some noise in there. Christian Graus - Microsoft MVP - C++

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        that makes sense... thanks Christian :) Afzal Hassen

        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