C#如何制作已编译的应用程序受到限制. [英] C # how to make a compiled application has been limited.

查看:138
本文介绍了C#如何制作已编译的应用程序受到限制.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows平台上,如何使用C#限制已编译的应用程序的启动或运行权限.例如,仅在获得许可后才可以运行该程序,否则就无法运行.等效于加密已编译的应用程序.谢谢.

In the windows platform, how to use C # limit the compiled application''s start or run permissions.For example, only to get my license before it could run the program, or not to run. Equivalent to encrypt the compiled application .thanks.

推荐答案

如果您希望除非提供了有效的许可证,否则该应用程序将无法运行,请以这种方式编写.这没有魔术.在应用程序启动时,以任何使用方式检查许可证.
If you want the application to not run unless a valid license has been supplied, then write it that way. There is no magic to it. At application startup check the license by whatever means you have used.


本文将为您提供一些想法:

应用程序试用版 [
This article will give you some ideas:

Application Trial Maker[^]

It''s a little dated so do keep that in mind.


这篇关于C#如何制作已编译的应用程序受到限制.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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