.NET“隔离存储”存储在哪里?

问题描述 投票:0回答:9

物理文件在哪里?

.net isolatedstorage
9个回答
32
投票

这取决于操作系统以及是否启用漫游用户配置文件。

例如,在 XP 上,使用非漫游配置文件时,位置为

<SYSTEMDRIVE>\Documents and Settings\<user>\Local Settings\Application Data\Microsoft\IsolatedStorage 

在具有漫游配置文件存储的 Vista 上,

<SYSTEMDRIVE>\Users\<user>\AppData\Roaming\Microsoft\IsolatedStorage

请参阅隔离存储简介了解更多信息。


17
投票

%LocalAppData%\IsolatedStorage
/
%AppData%\IsolatedStorage.

我在“Microsoft”下没有找到它们


9
投票
System.Diagnostics.Process.Start(
    Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + 
    "\\IsolatedStorage"
    );

4
投票

在我的 XP 工作站上,我在 c:\Documents and Settings\Local Settings\Application Data\Microsoft\Silverlight\is\XXXXXXXXXXXXX 下找到它 其中 xxxxxxxx 似乎是随机目录名称。 (在下面,如果你逛得足够多,你应该找到适合你的特定应用程序的商店......)


4
投票

我也在

%ProgramData%\IsolatedStorage
下看到过它(通常是 C:\ProgramData\IsolatedStorage)。

此特殊案例是具有 IIS 站点相关数据的 Windows Server 2008。


4
投票

我使用的是 Windows 8.1。在我的电脑上,它位于

C:\Users\mangesh\AppData\LocalLow\Microsoft\Silverlight\<followed by some random folder names>

在“Silverlight”文件夹中有许多随机文件夹。您应该在这些文件夹之一中找到您的文件。


3
投票

位置因

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

更多详细信息可以在这里找到。


0
投票

当通过系统帐户访问/创建时,我在这里找到了该文件夹:

C:\Windows\SysWOW64\config\systemprofile\AppData\Local\IsolatedStorage

0
投票

在 Windows 11 上:

C:\Users boxuser\AppData\Local\IsolatedStorage\

© www.soinside.com 2019 - 2024. All rights reserved.