O'Reilly logo

.NET Common Language Runtime Unleashed by Kevin Burton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Isolated Storage

Isolated storage allows an assembly or application domain to have a reserved space in the file system to store sensitive yet persistent data. This is not completely secure, but portions of the .NET Framework Security use isolated storage to access and manipulate items in the store in a secure manner. After you obtain an isolated storage file (a store), you can use standard I/O facilities to read and write files and directories within the store. You don't have to worry about any other application corrupting your data because each application (application domain or assembly) accesses only its area in isolated storage. Listing 16.17 shows a sample of how to use isolated storage.

Listing 16.17. Using Isolated Storage
 static void ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required