本文介绍了哪里保存激活密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用C#,并且用户输入了一个密钥来激活我的程序.我不希望用户一旦输入密钥就能够看到它.您对如何/在何处存储有任何建议?
I am using C# and have a key the users enters to activate my program. I do not want the user to be able to see the key once it is entered. Do you have any recommendations for how/where to store it?
推荐答案
您可以将密钥另存为单独的文件.加密密钥并保存.因此,即使用户尝试篡改它,您也可以停用该应用程序.
You can save the key as a seperate file. Encrypt the key and save it. So even if the user tries to tamper with it then you can deactivate the application.
您可能对Codeplex中的这个项目感兴趣: http://licenser.codeplex.com/
You might be interested in this project in codeplex: http://licenser.codeplex.com/
一些问题需要您检查.
这篇关于哪里保存激活密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!