Using FileSystemWatcher, why am I getting different changetypes when I delete a file vs deleting a directory?

I've been using this example for FileSystemWatcher

When I delete a file I get a changetype of "Deleted" but when I delete a directory I get a changetype of "Changed". Is there any way for me to have them both show a changetype of "Deleted"? Or is there some work around I should look at?

by privatly via /r/csharp

Leave a Reply