The IsolatedStorageFile Class and the IsolatedStorageFileStream Class represent specific isolated storage locations. Isolated storage is just a location on your hard drive that only your application can see. The operating system manages access to this location. With Isolated Storage, “you can read and write data that less trusted code cannot access and prevent the exposure of sensitive information that can be saved elsewhere on the file system. Data is stored in compartments that are isolated by the current user and by the assembly in which the code exists. Additionally, data can be isolated by domain. Roaming profiles can be used in conjunction with isolated storage so isolated stores will travel with the user's profile.” (msdn2)

The DeflateStream Class is new to .Net 2.0 and is used for compressing and decompressing streams using the Deflate Algorithm. An example of deflating and inflating a dataset with this class is below. It is taken from the Compressing Persisted DataSets article listed in the resources section.

The GZipStream Class is new to .Net 2.0 and is used for compressing and decompressing streams using the GZip format. This Class is extensible but it comes at the cost of being slightly slower that the DeflateStream Class. An example of deflating and inflating a dataset with this class is below.