创建一个过期的dll [英] Creating a expire dll

查看:142
本文介绍了创建一个过期的dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想创建一个dll,让我的项目在3天后过期.
请帮我提供示例.

hi every body,
i want to create a dll for expire my project after 3 days.
please help me with a sample.

推荐答案

三天后会怎样?安装?第一次使用?

我不会使用DLL,只是将代码添加到使用app.config文件中的设置的应用程序中.首次运行该应用程序时,请在此存储日期.每次运行该应用程序时,请检查数据并将其与今天的日期进行比较.如果差异超过3天,请执行您想做的任何误入歧途的事情.
Three days after what? Installation? First use?

I wouldn''t use a DLL, I''d just add code to the application that uses a setting in the app.config file. The first time the app is run, store the date there. Each time the application is run, check the data and compare it to today''s date. If the difference is morew than 3 days, do whatever misguided thing it is that you want to do.


这篇关于创建一个过期的dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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