windows - 限时试用和 Windows 认证

标签 windows

如果您想为应用程序实现限时试用,您可能希望留下一些标志(注册表项、文件等),这样程序就不能重新安装。

是否有任何方案可以让您在通过各种 Windows 认证计划的同时做到这一点?

一般:-

Applications must correctly and fully uninstall from the machine. This includes removing files, registry keys, GAC assemblies, database tables, metabase settings, active directory accounts, etc. Anything left on the system after uninstall, including system components installed by the application, must be documented and justified - Windows Server 2008 Software Logo Secification - 2.3 Uninstall Cleanly

最佳答案

您采用的理念是仅在标志不存在时才允许安装,这意味着您需要在卸载后将标志保留在那里。当用户找到标志并自行删除时,这也会失败。

更好的做法是将其转过来,只允许程序在有标志的情况下运行。该标志将是一个注册 key ,其中加密了到期日期。当程序过期或被卸载时,您删除标志。

我通过让我的用户来我的网站注册并获得免费试用 key 来实现这一点。可能还有其他方法,但我喜欢这个,因为它还允许我收集有关谁在试用我的程序的信息。

关于windows - 限时试用和 Windows 认证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1600425/

相关文章:

c++ - 如何在 C/C++ PCRE 正则表达式中使用 UTF-8 文字字符?

c++ - 有没有一种方法可以在不下载整个文件的情况下确定托管在 HTTP 服务器上的文件的版本?

c - WM_ENABLE默认处理

windows - Windows/cmd 上的可执行文件类型是什么?他们的优先事项是什么?

windows - gatsby新命令错误 "TypeError: rd.cursorTo is not a function"

python在windows上非阻塞读取文件

c++ - 当电源从 AC 切换到 DC 并返回时通知?

c - 使用 TCP/IP 协议(protocol)的 c 中的服务器客户端应用程序

c++ - HeapFree() 崩溃的可能原因

c++ - 列出所有打开的文件