.NET“隔离存储”存储在哪里?
-
07-07-2019 - |
题
物理文件在哪里?
解决方案
这取决于操作系统以及是否启用了漫游用户配置文件。
例如,在XP上,使用非漫游配置文件时,位置为
<SYSTEMDRIVE>\Documents and Settings\<user>\Local Settings\Application Data\Microsoft\IsolatedStorage
在具有漫游配置文件存储的Vista上,
<SYSTEMDRIVE>\Users\<user>\AppData\Roaming\Microsoft\IsolatedStorage
有关详细信息,请参阅隔离存储简介。
其他提示
%LocalAppData%\ IsolatedStorage
/ %AppData%\ IsolatedStorage。
我没有在“Microsoft”
下找到它们System.Diagnostics.Process.Start(
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) +
"\\IsolatedStorage"
);
在我的XP工作站上,我发现它位于c:\ Documents and Settings \\ Local Settings \ Application Data \ Microsoft \ Silverlight \ is \ XXXXXXXXXXXXX 其中xxxxxxxx似乎是随机目录名称。 (如果你四处游荡,你应该找到适合你特定应用的商店......)
我也在%ProgramData%\ IsolatedStorage
下看到了它(通常是C:\ ProgramData \ IsolatedStorage)。
此特例是带有IIS站点相关数据的Windows Server 2008。
我正在使用Windows 8.1。在我的电脑上,它在 C:\ Users \ mangesh \ AppData \ LocalLow \ Microsoft \ Silverlight \&lt;后跟一些随机文件夹名称&gt;
在'Silverlight'文件夹中有许多随机文件夹。您应该在其中一个文件夹中找到您的文件。
位置因 IsolationStorage
范围
Local user [LocalApplicationData]\IsolatedStorage
Roaming user [ApplicationData]\IsolatedStorage
Machine [CommonApplicationData]\IsolatedStorage
可以通过 Environment.GetFolderPath
方法检索文件夹。
Windows 2016就像这样
Local user C:\Users\<user>\AppData\Local\IsolatedStorage
Roaming user C:\Users\<user>\AppData\Roaming\IsolatedStorage
Machine C:\ProgramData\IsolatedStorage
更多详细信息,请访问此处。
不隶属于 StackOverflow