Search code examples
.netnetwork-programmingnetwork-monitoring

Does the .Net Framework Contain any Libraries for Monitoring Network Activity?


I'd like to experiment with writing my own little monitoring/firewall app.


Solution

  • I don't think .Net contains anything but there is the Network Monitor API as described here, which should be possible to use from .Net using some PInvoke magic.

    Actually, that link mentions a NetmonAPI.CS file that does the PInvoke for you...