我有一个用VB6编写的软件产品.这是一款付费软件产品,具有1个月的演示版.演示版本没有单独的安装文件.输入产品密钥后,该软件会将演示版转换为完整版.我曾经将信息写入注册表以进行跟踪试用版的1个月及之后的软件将无法使用.另外,如果Windows用户不是admin,则无法将注册表写入HKLM.如果我将注册表写入HKCU,则用户可以创建新用户并通过安装软件来重复使用该软件.那么,如何将演示版本管理到1个月,而用户在1个月后不购买密钥就无法使用它?
I have a software product written in VB6. It is a paid software product and it has a demo version for 1 month.There is no separate setup file for demo version.The software on entering the product key turns demo to a full version.I used to write the information in registry to track the 1 month for demo version and after that software will not work. Also if windows user is not admin then registry cannot be written to HKLM. If i write registry to HKCU the user can create new user and reuse the software by installing it. So how can i manage the demo version to 1 month and user cannot use it after 1 month without purchasing the key?
推荐答案我本以为您需要创建许可证密钥文件并将其与.exe文件一起存储.它应该以某种方式进行加密,并包含创建它的时间以及在什么机器上的详细信息.您可能可以绕过它,但是它一定足够健壮,可以满足您的要求.
I would have thought that you would need to create a license key file and store it with the .exe file. It should be encrypted in some manner and would hold details of when it was created and on what machine etc. You could probably circumvent it but it would certainly be robust enough for your requirements.
更多推荐
管理软件的演示版本
发布评论