using (IsolatedStorageFile myIsolatedStorage = IsolatedStorageFile.GetUserStoreForApplication())
{
IsolatedStorageFile ISF = IsolatedStorageFile.GetUserStoreForApplication();
using (StreamWriter SW = new StreamWriter(new IsolatedStorageFileStream("Sample.doc", FileMode.Create, FileAccess.Write, ISF)))
{
string text = "Hi this is the text which will be written to the file and we can retrieve that later";
SW.WriteLine(text);
SW.Close();
MessageBox.Show("Your Text Has Been Saved Successfully To The File");
}
}
The Only thing which an this does is, it stores only the text format and not the images.