Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Banned
    Join Date
    Jul 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question HELP- Need a Key/ Timer for my software

    HI. I created some software which incorporates elements of flash and has output in HTML. Can anyone please share a code to incorporate a timer or key on my software product? I would like to provide demos of my software product to people (both via the web and through CD-ROMS) but only if these can be set for a certain time (say 7 days, 14 days, 1 year, etc.). Hence I would like for people to have access to the software for a limited amount of time/ license. Any suggestions? Thanks.

  • #2
    New Coder
    Join Date
    Dec 2005
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I believe that most commercial products use Windows Registry Key values in order to encrypt the trial period for their software.

    You may want to look into that.

  • #3
    Super Moderator sage45's Avatar
    Join Date
    May 2002
    Posts
    1,060
    Thanks
    0
    Thanked 13 Times in 13 Posts
    Most commercial products used to use a registry key... The problem with a registry key is that it is far too easy to find it and either delete it or modify it in order to reuse the software after the trial period... Another problem that software companies then ran into was the using a method that stored the date... This really didn't bother alot of people because then I could just change my system date and time in order to continue to use the software...

    One of the best ways to do this is to incorporate a method within the software that acts the same way that a radioactive isotope would act... Over time the radioactive isotope burns it's fuel and therefore breaks down...

    Within your program you would want some sort of a timer that keeps track of the total number of days since the install... And not using a static date but rather a relative date... Say you install your program... Day one would be today relatively and 168 hours from that relative time your program will be non-functional... In essence it will not matter if I installed it on June 24th, 2006... All the program knows is that 168 hours have passed since the original install...

    In order to store the amount of relative time, you could use either a file buried in the file system or you could use a GUID registry key... Again both methods could be searched for and deleted, but you can make it more difficult by using a GUID or file that does not appear to be associated with the application... Ofcourse, there are methods that can be used upon the initial install in order to track which files and/or registry keys are used by your install...

    Beyond all that, the only thing you then need to do is ensure that you do not remove or delete the method that was used to track the time since the initial install...

    But really this question should be moved the the Computer Programming Forum...

    -saige-
    HTML & CSS Forum Moderator

    "If you don't know what you think you know, then what do you know."
    R.I.P. Derrick Thomas #58
    1/1/1967 - 2/8/2000


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •