简体   繁体   English

将数据存储到 memory 中的隔离存储

[英]store data to isolated storage in memory

I have to store data to isolated storage in memory in such a way that other applications that are run by the same user and at the same time other users running the same application cannot access the data directly.我必须将数据存储到 memory 中的隔离存储中,这样由同一用户运行的其他应用程序以及同时运行同一应用程序的其他用户无法直接访问数据。 How can I do this?我怎样才能做到这一点?

Try this尝试这个

IsolatedStorageFile.GetUserStoreForAssembly();

But befor to use it you need to import namespace System.IO.IsolatedStorage;但在使用它之前,您需要导入命名空间System.IO.IsolatedStorage;
Here is more detail IsolatedStorageFile Class这是更多详细信息隔离存储文件 Class

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM