Question

I would like the users to be able to wipe out their isolated storage for my application and start over. Is there a way to do this? Is this suggested? If so to both prior questions, what is the best way to do this?

Update:

After thinking about this question a little bit, I'm thinking I can probably look through my collection and do a remove operation... So I guess that is one way. Is there a more complete way?

Was it helpful?

Solution

Have you taken a look at the Isolated Storage Best Practices for Windows Phone? I think you would simply implement this through functionality in your app that gives user access to the relevant directory in the isolated storage scope and allows them to delete specific or in your case, all files. The second link has examples of how to do this.

OTHER TIPS

You can do this with IsolatedStorageFile.Remove. It removes all the contents of the application's Isolated Storage.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top