如何制作只能工作15次的Windows应用程序演示软件?不使用注册表... [英] how to make a demo software of windows application that will work only for 15 times? without using registry...
本文介绍了如何制作只能工作15次的Windows应用程序演示软件?不使用注册表...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使Windows应用程序设置像演示版一样只能工作15次?不使用注册表...使用C#代码帮助我
how to make a windows application set up work only for 15 times like a demo version? without using registry... help me out with C# code
推荐答案
您必须将计数存储在某个地方,如果不在注册表中,则可以使用文件或IsolatedStorage
:
http://msdn.microsoft.com/en-us/library/system. io.isolatedstorage.isolatedstoragefile.aspx [ ^ ]
.NET中用于存储应用程序数据的隔离存储 [ ^ ]
使用隔离存储(简单演示) [ ^ ]
You have to store the count somewhere, when not in the registry you can use files orIsolatedStorage
:
http://msdn.microsoft.com/en-us/library/system.io.isolatedstorage.isolatedstoragefile.aspx[^]
Isolated Storage in .NET to store application data[^]
Use of Isolated Storage (A Simple Demo)[^]
这篇关于如何制作只能工作15次的Windows应用程序演示软件?不使用注册表...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文