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. I need some information on enabling-disabling a software (registration-activation)

I need some information on enabling-disabling a software (registration-activation)

Scheduled Pinned Locked Moved C#
helpcsharpquestion
4 Posts 2 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.
  • R Offline
    R Offline
    Roshanakak
    wrote on last edited by
    #1

    I have a project in C#. Now i have this problem: after installing this software it should be disabled and the user must register it in our website, then with an activation key that would be given in the website the software should be enabled again! I really know nothing about how it should be done. Would anybody please help me??? it's so urgent!!! Roshanak

    N 1 Reply Last reply
    0
    • R Roshanakak

      I have a project in C#. Now i have this problem: after installing this software it should be disabled and the user must register it in our website, then with an activation key that would be given in the website the software should be enabled again! I really know nothing about how it should be done. Would anybody please help me??? it's so urgent!!! Roshanak

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #2

      Urgent for who? Simple: have the startup check for a value in the registry that is an anagram "satryuopoied". If it's not there phone home.


      Panic, Chaos, Destruction. My work here is done.

      R 1 Reply Last reply
      0
      • N Nagy Vilmos

        Urgent for who? Simple: have the startup check for a value in the registry that is an anagram "satryuopoied". If it's not there phone home.


        Panic, Chaos, Destruction. My work here is done.

        R Offline
        R Offline
        Roshanakak
        wrote on last edited by
        #3

        yes, i found it. now i have my own software, you mean if i install it (for example with windows installer) it creates this registry key for it's own and then i can do what i want??? or i must insert the creation of this key in my code???? Roshanak

        N 1 Reply Last reply
        0
        • R Roshanakak

          yes, i found it. now i have my own software, you mean if i install it (for example with windows installer) it creates this registry key for it's own and then i can do what i want??? or i must insert the creation of this key in my code???? Roshanak

          N Offline
          N Offline
          Nagy Vilmos
          wrote on last edited by
          #4

          Try googling registration-activation and similar terms. Try looking on codeproject for registration-activation. There is no fool-proof method - if there was M$ would use it already. Decide on a method that is good enough for your needs. Simple approach is for the user to provide certain details and you give back a hash code based on the details. If the activation details and hashed code do not match the software say no!


          Panic, Chaos, Destruction. My work here is done.

          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