独立存储内容在更新后是否仍然存在?
如果我将许可证文件写入 vb.net winforms 应用程序中的独立存储,然后该应用程序进行了较小的更新,那么许可证文件是否会在更新过程中以某种方式“保留”?
隔离存储似乎使用完整版本号作为最低级别的目录名称,这让我认为它没有。
需要许可证文件才能充分使用该应用程序,我不希望用户在更新后必须重新输入许可证代码。
还不确定如何完成更新 - Inno setup 或 Installshield LE。
任何建议表示赞赏。
If I write a license file to isolated storage in a vb.net winforms app, and the app then undergoes a minor update, does the license file get "carried over" somehow during the update?
Isolated storage seems to use the full version number as the lowest level directory name which makes me think it doesn't.
The license file is needed to allow full use of the app and I don't want users to have to re-enter their license code after an update.
Not sure how the update will be done yet - either Inno setup or Installshield LE.
Any advice appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的应用程序是WinForm应用程序,我建议您不要使用IsolatedStorage,它的限制有点太多并且不可定制。 IndependentStorage 在 Windows Phone 和 Metro 应用程序中不会被覆盖,但(如果我没记错的话)在 Win Forms 中被覆盖。总而言之,最好使用其他位置的文件(例如 AppData/Roaming/YourCoolAppName),并且它的优点是您可以准确地知道数据的存储位置。
If your app is a WinForm one, I advice you not to use IsolatedStorage, which is a little too restrictive and uncustomizable. The IsolatedStorage isn't overriden in Windows Phone and Metro apps but (if I remember well) is in Win Forms. To conclude, it would be better to use a file in another location (like AppData/Roaming/YourCoolAppName), and it has the advantage for you to know exactly where the data is stored.