Is there a way to determine with the FSW if a file or a directory has been deleted?
You could interrogate the FileSystemEventArgs.FullPath property to tell if it is a directory or a file.
FileSystemEventArgs.FullPath
if (Path.GetFileName(e.FullPath) == String.Empty) { //it's a directory. }
To check if it is a file or directory.