Results 1 to 4 of 4

Thread: making a 30 days validation program..

  1. #1

    Thread Starter
    Addicted Member noam309's Avatar
    Join Date
    Aug 2006
    Posts
    225

    Question making a 30 days validation program..

    Hi,

    I have some applications that I made , and a lot with your great help .
    I want with form load it will show an registration form that the user has to enter the : name and serial number , and the program will count 30 days and then will stop working.. does anyone know ,and can help me with it?

    Giving an exact answer
    Saves a lot of time!!!

  2. #2
    Registered User
    Join Date
    Mar 2006
    Location
    Norway
    Posts
    2

    Re: making a 30 days validation program..

    you can just use hte regestry om the device to save the date when the program fist was in use. And then chek the date on the PDA every time the program starts against the date you saved. One problem with this teknik is that the user can just cande the date om the PDA on the PDA and the Pragram wil work again.

    PS:
    sorry my bad english

  3. #3
    Addicted Member
    Join Date
    Aug 2006
    Posts
    243

    Re: making a 30 days validation program..

    Instead of 30 days you can keep 30 or 40 uses which is very safe. Initialize it from Registry.

  4. #4
    Hyperactive Member vbud's Avatar
    Join Date
    Jan 2002
    Location
    Mru 20 17S, 57 33E Goal: Get out of the BOX Status: In The Shadows!!! Target Posts: 3,000,000,000
    Posts
    378

    Re: making a 30 days validation program..

    Though Registry is commonly used for this I would suggest that you choose stronger options along with this. When using the registry Use API to save at registry locations that has meaningless names and encrypt the values. Basically the values that you need to save is the First Run Date and the Last run date. Then from this you need to calculate how many days have elapsed and if its above 30 then end the application. Bear in mind though that users can easily backdate their system time and try to fool the trial period calculation. Knowing this, what you need to do is at each run, check to see if the last run date that you saved is greater than the current date, if so then you know that the system date has been tampered with and you can exit the app.

    Also you may want to generate a file somewhere under windows directory and save the same information in encrypted format on the user's PC. This way you have 2 places where you can verify the dates. Also if you want to go to a further extent, you can implement a CRC check on the EXE each time it is run and compare it against a CRC that you have saved in a file or registry, this way you are making sure that the trial version of you software has not been tampered with. Hope this helps.
    Last edited by vbud; Nov 3rd, 2006 at 01:59 AM.
    >!v!<
    Free your mind, stop thinking
    http://inspirone.blogspot.com

    Please rate this post if it helped you

Posting Permissions

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



Click Here to Expand Forum to Full Width