I want to trigger some checking logic whenever an user-defined dll is used in the application.

Can I do this? How to do this?

Thanks for your kindly attention!!!