如何创建在特定日期之后删除itsel的应用程序 [英] How to create an a application that deletes itsel after a particular date

查看:89
本文介绍了如何创建在特定日期之后删除itsel的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个在特定日期之后从其文件夹中删除的应用程序。我正在使用.NET应用程序(wpf,c#)。任何人都可以帮我这个。

I need to create an application That gets deleted from its folder after a particular date.I am working on.net applications(wpf ,c#).Can anybody help me with this.

推荐答案

不是一个好主意,因为你总能创建一个备份副本。
Not a very good idea since you can always create a backup copy.


Hi Rishi,



我认为您试图在客户端计算机的试用期结束后阻止应用程序访问。

您可以阻止访问应用程序而不是删除应用程序。

如果是这样,那么试试这个链接 [ ^ ]& 链接 [ ^ ]

另一个想法是:如果你真的想要删除应用程序然后在特定时间段之后你应该从任务管理器中删除应用程序进程然后删除应用程序。



希望这对你有所帮助。



问候,

RK
Hi Ris

I reckon you are trying to block the application from access once trial period is expired in client machine.
You can block the access to the application instead of deleting the application.
If thats the case then try this link[^] & link[^]
Another Idea is: If you really want to delete the application then after that particular time period you should kill the application process from task manager then delete the application.

Hope this helps you a bit.

Regards,
RK


这篇关于如何创建在特定日期之后删除itsel的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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