kill app after expire date


/ Published in: Objective C
Save to your folder(s)

Using a gcc predefined macro, __DATE__, the code can know for itself when it was compiled, and build in an expiration date based on that value.

For a internationalised version see: http://snipplr.com/view/7196/kill-app-after-expire-date-suicidal-code-redux/

URL: http://www.red-sweater.com/blog/371/suicidal-code

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.