How to disable .NET Agent