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 create trial version from my app ?

how to create trial version from my app ?

Scheduled Pinned Locked Moved C#
tutorialquestionannouncement
4 Posts 4 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.
  • H Offline
    H Offline
    hdv212
    wrote on last edited by
    #1

    hi i want to create trial version from my app and after it was Expired, end user can't restore windows and use it again. How to do ? thanks ..

    A J 2 Replies Last reply
    0
    • H hdv212

      hi i want to create trial version from my app and after it was Expired, end user can't restore windows and use it again. How to do ? thanks ..

      A Offline
      A Offline
      AB7771
      wrote on last edited by
      #2

      You can add an entry in the registry which consists of the date of installation and the expiry date. You can check this value when the app starts if the date has reached just delete the registry entry and the app should not be executed if the registry entry is not present. Hope that works for u.

      Thanks & Regards, Pramod "Everyone is a genius at least once a year"

      M 1 Reply Last reply
      0
      • A AB7771

        You can add an entry in the registry which consists of the date of installation and the expiry date. You can check this value when the app starts if the date has reached just delete the registry entry and the app should not be executed if the registry entry is not present. Hope that works for u.

        Thanks & Regards, Pramod "Everyone is a genius at least once a year"

        M Offline
        M Offline
        mav northwind
        wrote on last edited by
        #3

        The registry entry will have to be created every time you install the application, so after expiration you'll just have to reinstall to get another trial period. It'll also be saved if you create an image of your windows after installation. And there are tools out there that can easily track all modifications done to the registry so you can see which registry key is being created. I'm afraid there is no really watertight way to achieve this when only a single computer is concerned (i.e. without some sort of online activation).

        Regards, mav -- Black holes are the places where God divided by 0...

        1 Reply Last reply
        0
        • H hdv212

          hi i want to create trial version from my app and after it was Expired, end user can't restore windows and use it again. How to do ? thanks ..

          J Offline
          J Offline
          jmcc2k
          wrote on last edited by
          #4

          If you dont mind using a commercial tool, take a look at CryptoLicensing It can limit licenses to N number of days.

          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