如何防止用户查杀C#应用程序 [英] How to prevent users from killing C# Application
本文介绍了如何防止用户查杀C#应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
的如果您使用ESET Smart Security或Deep Freeze的工作时,管理员要结束他们的过程中,他看到上面写着拒绝访问一个错误,当你看到的
我如何保护我的C#应用程序从别人杀害它
How can I protect my C# app from someone killing its
推荐答案
这是不被视为好习惯从封闭停止你的应用程序。
It is not seen as good practice to stop your application from being closed.
请参阅为什么的此处
就算你隐藏的关闭按钮,并拦截ALT + F4按键,并处理主要形式的退出代码,用户可以还是强制应用程序通过任务管理器关闭。
Even if you hide the close button and intercept the alt + f4 keypresses, and handle the exit code of the main form, the user can still force the application to close via task manager.
这篇关于如何防止用户查杀C#应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文