algorithm for expiration date of trial software using C#

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sparton

    algorithm for expiration date of trial software using C#

    hi! can anyone show me how to make an expiration for a certain
    software where backtracking of dates (i.e. changing the system date)
    will not nullify the license.. also, the software will have a counter
    which counts how many times the software is being used.. thanks!!
  • Mohamoss

    #2
    RE: algorithm for expiration date of trial software using C#

    Hi
    If you want to use the idea of counter, you just need to have a variable
    (int) that you save somewhere in a file of those or your application or on
    in registry key , you increment that variable in the closing event of
    the main form in your application and you check it in the load event
    handler ( to make sure the max number of allowed usage time is not
    exceeded
    Mohamed Mahfouz
    MEA Developer Support Center
    ITworx on behalf of Microsoft EMEA GTSC

    Comment

    Working...