IsolatedStorageFile is class from the .Net framework for accessing files in an isolated environment.
Questions tagged [isolatedstoragefile]
83 questions
28
votes
1 answer
StorageFile 50 times slower than IsolatedStorageFile
I was just benchmarking multiple algorithms to find the fastest way to load all data in my app when I discovered that the WP7 version of my app running on my Lumia 920 loads the data 2 times as fast as the WP8 version running on the same device.
I…
![](../../users/profiles/2490831.webp)
Stefan Wexel
- 1,154
- 1
- 8
- 14
6
votes
2 answers
Operation not permitted on IsolatedStorageFileStream for CreateFile in isolated storage
I am trying to create a file in the Isolated storage using following code,
IsolatedStorageFile storageFile = IsolatedStorageFile.GetUserStoreForApplication();
storageFile.CreateFile("Html\\index.html");
but I am getting exception while doing the…
![](../../users/profiles/1893772.webp)
user1893772
- 83
- 1
- 5
3
votes
2 answers
How do you get a flat listing of all files in IsolatedStorage?
I need to get a list of all files in a given IsolatedStorage folder. There are sub folders off the root of the IsolatedStorage and these need to be included in the list.
The usual System.IO classes can't be used with IsolatedStorage.
![](../../users/profiles/12124.webp)
Tom Robinson
- 7,700
- 8
- 55
- 91
3
votes
4 answers
IsolatedStorageFile's MoveFile() method throws IsolatedStorageException
Description:
The code below is the simplest code I could write which causes the failure. I've also tried: putting the CreateFile and MoveFile in different using statements, putting them in different xaml pages, moving the file into a subdirectory…
![](../../users/profiles/1510416.webp)
user1510416
- 33
- 3
3
votes
1 answer
Get URI for a stored file in StorageFile (WinRT)
I'm building a metro app, and I'm trying to get a Uri of an Image after saving it in the StorageFile, this is my code:
StorageFile file = await ApplicationData.Current.LocalFolder.CreateFileAsync("samplefile.dat",…
![](../../users/profiles/836252.webp)
Ateik
- 2,348
- 4
- 34
- 58
2
votes
1 answer
Saving a List of Objects in Windows Phone 7 XNA
i need to save a List of Objects, The Objects are created from a class i made. what should i do?
i tried the XmlSerializer, and i added the [XmlElement] to the fields i need to be serialized. but it kept giving me "There is an Error in XML…
![](../../users/profiles/836252.webp)
Ateik
- 2,348
- 4
- 34
- 58
2
votes
1 answer
Deploying Files to IsolatedStorage in Windows Phone 7
Hi everyone
I would like to know if it's possible to deploy my app assets directly to Isolated Storage once the app get deployed.
I'm currently extracting them from code but this make the app's first launch too slow and it will be declined once…
![](../../users/profiles/132888.webp)
Waleed
- 3,047
- 2
- 21
- 30
2
votes
2 answers
IsolatedStorageFileStream lead to assert failure
I decided to use isolated storage for temporary files:
using (IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForDomain())
{
using (IsolatedStorageFileStream userStream = new IsolatedStorageFileStream("UserSettings.set",…
![](../../users/profiles/3206223.webp)
InfernumDeus
- 1,137
- 10
- 27
2
votes
0 answers
event handler on silverlight out of browser uninstalling
I am writing an application using silverlight technology.
Using the CheckAndDownloadUpdateCompleted method I can let the sdk handle automatically the update of the client.
I also see the installed "application" in the control panel. I can…
![](../../users/profiles/273593.webp)
Vito De Tullio
- 2,273
- 3
- 29
- 47
2
votes
1 answer
UWP: Setting the image.source from FilePath in the 'get; & set;'
Each image in the collection has a serialized File Path. When loading the collection I need the image to load from the File Path. The code below will not work because IsolatedStorageFileStream isn't compatible with the IRandomAccessStream used for…
![](../../users/profiles/4004810.webp)
Terry Bennett
- 95
- 1
- 10
2
votes
2 answers
Recording sound in temporary file on windows phone 8
This is my code for recording sound in temporary file. when i record sound and then listen to playback, everything goes well, but when i click again on playback button, i get this error:
How can i solve this problem?
Code:
using…
![](../../users/profiles/1574766.webp)
peyman gilmour
- 1,033
- 2
- 13
- 29
2
votes
1 answer
Transferring video off the phone from isolated storage
I am making a video recording app. the video is recorded and stored in the isolated storage but i want to enable user to transfer his video off the phone... maybe transferring the video to the "Music+Videos" section of the phone or by some other…
![](../../users/profiles/2799454.webp)
Rejo Chandran
- 443
- 3
- 18
2
votes
1 answer
IsolatedStorageFile.GetLastAccessTime is crashing on wp7
It sounds like "An error occurred while accessing IsolatedStorage". But there's no such exceptions is msdn: http://msdn.microsoft.com/en-us/library/system.io.isolatedstorage.isolatedstoragefile.getlastaccesstime(v=vs.110).aspx
I assume, it can be…
![](../../users/profiles/1154733.webp)
Vitalii Vasylenko
- 4,116
- 4
- 34
- 57
2
votes
1 answer
File is blank after using StreamWriter
I am trying to write some data to an existing file that is within my project(local file to the project). I used the following code
Uri path = new Uri(@"Notes.txt", UriKind.Relative);
using (IsolatedStorageFile myIsolatedStorage =…
![](../../users/profiles/2210060.webp)
user2210060
- 31
- 3
2
votes
0 answers
Getting pixel array from isolatedstorage converted from jpeg
Trying to resolve this for days - (WP7) got it working 1st time in Win 8, help appreciated..
Simply I want to read a JPEG from my Isolated Storage, Convert the JPEG to Writable bitmap and then mess with the pixels. The code I'm currently trying is…
![](../../users/profiles/2069893.webp)
John Irvine
- 76
- 5