物理文件在哪里?
这取决于操作系统以及是否启用漫游用户配置文件。
例如,在 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\<followed by some random folder names>
在“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
更多详细信息可以在这里找到。
当通过系统帐户访问/创建时,我在这里找到了该文件夹:
C:\Windows\SysWOW64\config\systemprofile\AppData\Local\IsolatedStorage
在 Windows 11 上:
C:\Users boxuser\AppData\Local\IsolatedStorage\