The easiest way to delete contents of an IsolatedStorageFile is to open it in the Truncate mode:
IsolatedStorageFile isoStore = IsolatedStorageFile.GetUserStoreForAssembly();
IsolatedStorageFileStream isoFile = new IsolatedStorageFileStream(myFileName, FileMode.Truncate, isoStore);
According to the MSDN , if a file is opened in the Truncate mode its size should be 0 bytes.
steam cleaning in Jeddah*insect control in Riyadh*Landscaping in Riyadh*Landscaping in Riyadh*Pest Control in Riyadh*Transportation of furniture in Medina*Detection of leaks in Riyadh*Detection of leaks in Riyadh*spray in Riyadh*Cleaning of houses in Riyadh
ReplyDelete