Metro Nuggets

Bitesized tidbits for building Modern (Metro) apps.

Category Archives: IsolatedStorage

Deleting All Content From an IsolatedStorage Folder

Deleting a folder from IsolatedStorage is easy, you know, assuming it’s empty. But what if it’s not? What if you just want to delete a folder regardless of what, or how much, stuff is in there? Well you have to go through and delete not only the files in the folder, but also any subfolders and the files within them. That’s a lot more code than you would think is required for this operation.

Read more of this post