I want to create an application that will save deleted files from a flash drive to a part of a flash drive that will work as a recycle bin. I want to capture a window deletion event so that I can copy files marked as deleted.
Is there a library that will notify my application if the delete event is executed?
When using the FileSystemWatcher component, I cannot delete files, because it will be notified only after the file is deleted.
source
share