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. Expiring app

Expiring app

Scheduled Pinned Locked Moved C#
csharpsaleshelpquestion
3 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.
  • S Offline
    S Offline
    sujithkumarsl
    wrote on last edited by
    #1

    i just developed a C# windows application, before sending it to the customer,just want to expire the application after 60 days!!!! Can you help me? :confused::confused::confused::confused:

    My small attempt...

    N 1 Reply Last reply
    0
    • S sujithkumarsl

      i just developed a C# windows application, before sending it to the customer,just want to expire the application after 60 days!!!! Can you help me? :confused::confused::confused::confused:

      My small attempt...

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      When your application starts first time, create a file and store the started date inside that. For more security you can store that as encrypted. Read this file when ever your application starts. if it reaches more than 60 day's show expired message. Alternatively you can keep this in Windows registry also.


      My Website | Ask smart questions

      T 1 Reply Last reply
      0
      • N N a v a n e e t h

        When your application starts first time, create a file and store the started date inside that. For more security you can store that as encrypted. Read this file when ever your application starts. if it reaches more than 60 day's show expired message. Alternatively you can keep this in Windows registry also.


        My Website | Ask smart questions

        T Offline
        T Offline
        Tormod Fjeldskaar
        wrote on last edited by
        #3

        The program needs a way to tell that it's the first time it runs, though... Otherwise, the user could just delete the file or registry key, and the program would create a new one, practically giving you 60 more days of testing.

        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