public bool RemoveBookThumbnail(string fileName)
{
string path = Path.Combine(_folderPath, fileName);
if(RobustFile.Exists(path) &&
(new System.IO.FileInfo(path).IsReadOnly)) //readonly is good when you've put in a custom thumbnail
{
return false;
}
if (RobustFile.Exists(path))
{
RobustFile.Delete(path);
}
return true;
}