public void RemoveAllLogs()
{
using (IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForApplication())
{
IEnumerable<string> files = GetLogFiles(isf);
foreach (string filepath in files)
{
try
{
isf.DeleteFile(filepath);
}
catch (Exception e)
{
DebugUtils.DumpException(e, "deleting all logs for cartridge");
}
}
}
}