snažím se použít něco jako následující kód:
Code: Select all
IsolatedStorageFile myIsolatedStorage = IsolatedStorageFile.GetUserStoreForApplication();
//Open existing file
IsolatedStorageFileStream fileStream = myIsolatedStorage.OpenFile("text.txt", FileMode.Open, FileAccess.Write);
using (StreamWriter writer = new StreamWriter(fileStream))
{
string someTextData = "Some More TEXT Added: !";
writer.Write(someTextData);
writer.Close();
}
IsolatedStorageFile myIsolatedStorage2 = IsolatedStorageFile.GetUserStoreForApplication();
IsolatedStorageFileStream fileStream2 = myIsolatedStorage2.OpenFile("text.txt", FileMode.Open, FileAccess.Read);
using (StreamReader reader = new StreamReader(fileStream2))
{ //Visualize the text data in a TextBlock text
this.text = reader.ReadLine();
}

