How can I monitor the network traffic for a given app using .net?
UPDATE: How can I monitor the network traffic of another application using .net?
How can I monitor the network traffic for a given app using .net?
UPDATE: How can I monitor the network traffic of another application using .net?
If you don't have access to the code for the application, you might be able to do it with an Aspect-Oriented Framework that does runtime weaving.
Runtime weaving allows you to modify the executable so that it calls your monitoring code before the networking code in the application.