Find application using port

后端 未结 2 491
旧时难觅i
旧时难觅i 2021-01-14 12:40

I have a networking program setup that does a lot of what the nestat program does. I am working now on netstat -o. That command will give me the PID of the program using t

2条回答
  •  死守一世寂寞
    2021-01-14 13:19

    AFAIK, this information is not exposed anywhere in the BCL or WMI. You'll need to p/Invoke GetExtendedTcpTable to get it.

提交回复
热议问题