ApplicationSupport or Preferences is the correct place for it. If someone deletes the appropriate file to get an extra 30 days of use, is that such a big deal?
If you really want to stop people from getting more than 30 days of use, consider online activation. You could also require Admin access to install your app and put a hidden file somewhere deeper in the system, but that would definitely fall under bad practises.
发布评论
评论(1)
ApplicationSupport
或Preferences
是它的正确位置。如果有人删除相应的文件以获得额外 30 天的使用期限,这有什么大不了的吗?如果您确实希望阻止人们使用超过 30 天,请考虑在线激活。
您还可能需要管理员访问权限来安装您的应用程序并将隐藏文件放置在系统更深处的某个位置,但这肯定会属于不良做法。
ApplicationSupport
orPreferences
is the correct place for it. If someone deletes the appropriate file to get an extra 30 days of use, is that such a big deal?If you really want to stop people from getting more than 30 days of use, consider online activation.
You could also require Admin access to install your app and put a hidden file somewhere deeper in the system, but that would definitely fall under bad practises.