public static void Remove(IsolatedStorageScope scope)
{
// The static Remove() deletes ALL IsoStores for the given scope
VerifyGlobalScope(scope);
string root = Helper.GetRootDirectory(scope);
try
{
Directory.Delete(root, recursive: true);
Directory.CreateDirectory(root);
}
catch
{
throw new IsolatedStorageException(SR.IsolatedStorage_DeleteDirectories);
}
}