Implementing Expiration Dates in an application?

后端 未结 7 1182
轻奢々
轻奢々 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条回答
  •  -上瘾入骨i
    2021-01-21 09:09

    Work off of the create date of one of the files you install.

    this gives you a non-changing date to subtract from now to get the time the program has been installed. The only problem with this is when they re-install it. The easiest way to combat this is with a registry setting.

提交回复
热议问题