如何使项目中的dll在7天后过期? [英] How can I make the dll from my project to expire in 7 days?

查看:146
本文介绍了如何使项目中的dll在7天后过期?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使项目中的dll在7天后过期?我的意思是7天后该dll无法使用!

How can I make the dll from my project to expire in 7 days?I means after 7 days the dll can not be used!

推荐答案

就像dll到期一样. DLL只是程序集,不具有到期"功能.

听起来您需要许可.如果是这样,有多种方法可以实现:
1)加密的许可证文件,其中包含到期日期等.
2)注册表中保存的加密许可证密钥
3)需要Internet连接的质询/响应机制
4)可能是其他人.......

试试:
许可证密钥生成 [如何为C#创建产品密钥应用 [ ^ ]
c#许可 [ ^ ]


另外,请看这些:
.NET Framework的密码学101 [应用程序试用版 [ Windows应用程序部署中添加了注册表项 [
There is nothing like expiration of a dll. DLL is just an assembly and does not have capability of ''expiring''.

Sounds like you are in need of licensing. If so, There are different ways to achieve this:
1) encrypted license files that contains the expiry dates etc.
2) encrypted license keys held in the registry
3) challenge/response mechanism which require an internet connection
4) probably others.......

Try:
License Key Generation[^]
How can I create a Product Key for my C# App[^]
c# Licensing[^]


Also, look at these:
Cryptography 101 for the .NET Framework[^]
Application Trial Maker[^]
Windows application deployment adding registry entries[^]


这篇关于如何使项目中的dll在7天后过期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆