IsolatedStorageFile Class

Overview

  • Represents a sandbox location to store application specific data in.
  • Assembly/Machine store for application-level data.
  • Assembly/User store for user-level data.
  • Use IsolatedStorageFileStream to work with files in a store.

Good practice

  • Don't write your state to local .xml files everywhere on the system, but store them in an IsolatedStorage.

Examples

Initialize Store

IsolatedStorageFile a = IsolatedStorageFile.GetMachineStoreForAssembly();
 
foreach (var f in a.GetFileNames("*"))
{
    Console.WriteLine(f);
}
 
learning/exam70-536/isolatedstorage.txt · Last modified: 2008/08/27 15:26 by david
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki