Programmatically getting per-process network statistics on Windows?

前端 未结 5 1246
天命终不由人
天命终不由人 2020-12-14 11:21

I\'d like to find out which processes are using my network. This is quite easy in Linux, but I\'m stumped as to how to do this in Windows.

Essentially, I\'d like, fo

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-14 12:02

    You will need to use the IPHelper API.

    Here is a good article detailing its use from .NET: http://www.codeproject.com/KB/IP/iphlpapi.aspx

    Enjoy.

提交回复
热议问题