Every One
How Can I save a file when user deletes it.
I mean to say that, in Normal Case When User Delete A file Then that File Goes to Recycle Bin or When User Delete a file Permanently Then it is stored in Hard disk Some Where. I want To Save It In My Own Fold开发者_JS百科er. Please Help How Can I Do this.
Thanks.....
The only option I can think right now is to use FileSystemWatcher Class and get notified when a file is deleted but this can be used only for individual files/folders but watching an entire OS for deleted files is different.
Edit: Another option is to watch Recycle Bin but not 100% effective. Check this thread in MSDN forums.
精彩评论