When we use simulator and store files in isolated storage. Where is the file actually stored on computer? I mean the path.
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
I think I read somewhere that Silverlight Spy also lets you inspect isolated storage for WP7 apps. I don't use the tool myself, so I wouldn't know.
If by "simulator" you mean the emulator then this data is not stored in a "real" folder on the host PC.
The emulator is (for arguments sake) a virtual machine and so has it's entire folder structure stored separately.
On the assumption that you don't just want to know this but rather work with the files in Isolated Storage (as part of your development/testing process) then you should check out Windows Phone 7 Isolated Storage Explorer which allows you to interact with these files.
If you want to work from the command line (to automate your interaction) then check out this post by Justin Angel on emulator automation.
It's obscured by design.
The exact location depends on both the application and user so there will be a different location for each user running the same application.
Usually, .Net stores it under windows Vista or windows 7 in:
On windows XP:
Both with _user_ the username of the user. Under these folders are completely obscure subdirectories which are created and maintained by the isolated storage API. I don't know if there is any difference in this on WP7 or Silverlight, but else it is stored here
The "Mango" SDK ships with the ISETool that can take and restore snapshots of an application's isolated storage to/from a local directory: