I know this may sound extremely nooby, so sorry in advance but I am learning and I have spent nearly 2 hours trying to find out how to do this now with no result...
I'm wondering how I would go about deleting a specific file from isolated storage in windows phone 7.
Thanks in advance!
Simply call IsolatedStorageFile.DeleteFile
.
For example:
IsolatedStorageFile storage = IsolatedStorageFile.GetUserStoreForApplication();
storage.DeleteFile("backup.bak");
Use IsolatedStorageFile.DeleteFile
.
using(var store = IsolatedStorageFile.GetUserStoreForApplication())
store.DeleteFile("path.txt");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With