Mselmi Ali
Mselmi Ali

Reputation: 1257

Intercept methods calls of existing DLL at Runtime

How to intercept methods calls during runtime, For example, I have a DLL of my application that contains some methods that I would like to bypass or intercept to add some logs.

Can I use some techniques of AOP like Dynamic Proxy / Methods Interception and how should this interact with my DLL?

My goal is to avoid, finding some methods, modifying them by adding some logs, or just bypassing them and recompiling the DLL again.

Upvotes: 0

Views: 246

Answers (0)

Related Questions