Operation not permitted on IsolatedStorageFileStream
问题 I get an error when I open the file after it is created using (var myFileStore = IsolatedStorageFile.GetUserStoreForApplication()) { myFileStore.CreateFile(DateTime.Now.Ticks + ".txt"); } using (var myFileStore = IsolatedStorageFile.GetUserStoreForApplication()) { temp = myFileStore.GetFileNames(); for (int k = 0; k < temp.Length; k++) { IsolatedStorageFileStream file1 = myFileStore.OpenFile(temp[k], FileMode.Open, FileAccess.Read); dataSource.Add(new SampleData() { Name = temp[k], Size =