Implementing Expiration Dates in an application?

后端 未结 7 1242
轻奢々
轻奢々 2021-01-21 08:25

I\'d like to put an expiration date in some software I made. Obviously

psuedocode:

if time() > xxx: exit()

All someone has to do he

7条回答
  •  灰色年华
    2021-01-21 09:00

    There's no real solution here - anything can be cracked. You could consider:

    • checking the time with an online service
    • storing the last run date and checking to make sure that it isn't after the current date
    • checking the "last modified" date on some system files.

提交回复
热议问题