Is there a way to determine with the FSW if a file or a directory has been deleted?
I temporary use the "Path" function initially, but later in case of not delete I fix it by Directory.Exists. However that doesn't fix the Delete case
bool isDirectory = Path.GetExtension(e.FullPath) == string.Empty;
if (e.ChangeType != WatcherChangeTypes.Deleted)
{
isDirectory = Directory.Exists(e.FullPath);
}