Monitoring deletion of a folder or an application

Hello,

I need to monitor and take an action, when the user tries to move our application /our folder to Bin.

With FSEventStreamCreate able to monitor after it is moved to Bin, but need to get notified just when 'Move to Bin' is clicked before it is actually moved to Bin.

Any pointers on which API can help to achieve this.


Monitoring deletion of a folder or an application
 
 
Q