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. Providing trial period for an product

Providing trial period for an product

Scheduled Pinned Locked Moved C#
windows-admintutorial
5 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.
  • K Offline
    K Offline
    K V Sekhar
    wrote on last edited by
    #1

    Hi all, We developed a product. We have to provide trail period(10days) for that product. For that we tried in the following way. At installation of our product we are storing the 10th day date from installation date into system registry. and we are checking date every time when user logins if(DateTime.Now<=registrydate) //Continue else //Close the application MessageBox.Show("The trail period is completed"); Application.Exit(); This works fine until user changes System DateTime. I wants to avoid that also, even though if user changes System date it should work only for 10days. Plz suggest me how to do that. Thanks in advance...

    D X 2 Replies Last reply
    0
    • K K V Sekhar

      Hi all, We developed a product. We have to provide trail period(10days) for that product. For that we tried in the following way. At installation of our product we are storing the 10th day date from installation date into system registry. and we are checking date every time when user logins if(DateTime.Now<=registrydate) //Continue else //Close the application MessageBox.Show("The trail period is completed"); Application.Exit(); This works fine until user changes System DateTime. I wants to avoid that also, even though if user changes System date it should work only for 10days. Plz suggest me how to do that. Thanks in advance...

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      Keep track of the date your application was last accessed. If the date is less than last time application was opened, you can calculate actual trial period remaining. What if the user just deletes the registry entry and re installs the application? This will make your application like a free version. You can also try out Trial Creator[^] If you wish to.

      Time is the best teacher; unfortunately it kills all of its students. जय हिंद

      K 1 Reply Last reply
      0
      • D dan sh

        Keep track of the date your application was last accessed. If the date is less than last time application was opened, you can calculate actual trial period remaining. What if the user just deletes the registry entry and re installs the application? This will make your application like a free version. You can also try out Trial Creator[^] If you wish to.

        Time is the best teacher; unfortunately it kills all of its students. जय हिंद

        K Offline
        K Offline
        K V Sekhar
        wrote on last edited by
        #3

        What if the user just deletes the registry entry and re installs the application? This will make your application like a free version. He have to enter the key, this will be supplid by us. My problem is What if user changes the System date, by clicking on TaskBar SystemTray Icon(Time). I wants solution for that.

        1 Reply Last reply
        0
        • K K V Sekhar

          Hi all, We developed a product. We have to provide trail period(10days) for that product. For that we tried in the following way. At installation of our product we are storing the 10th day date from installation date into system registry. and we are checking date every time when user logins if(DateTime.Now<=registrydate) //Continue else //Close the application MessageBox.Show("The trail period is completed"); Application.Exit(); This works fine until user changes System DateTime. I wants to avoid that also, even though if user changes System date it should work only for 10days. Plz suggest me how to do that. Thanks in advance...

          X Offline
          X Offline
          Xmen Real
          wrote on last edited by
          #4

          buy .NET Reactor[^]

          TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN% Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i’TV.C\y<pŠjxsg-b$f4ia> -------------------------------------------------------- 128 bit encrypted signature, crack if you can

          K 1 Reply Last reply
          0
          • X Xmen Real

            buy .NET Reactor[^]

            TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L %^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2 W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN% Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-i’TV.C\y<pŠjxsg-b$f4ia> -------------------------------------------------------- 128 bit encrypted signature, crack if you can

            K Offline
            K Offline
            K V Sekhar
            wrote on last edited by
            #5

            Hi, Thanks for your suggestion. But our company not interested to buy such tools/softwares. Is not possible by c# coding?

            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