是否有托管类/方法提供特定Windows进程使用的TCP端口号?
我真的在寻找以下CMD系列的.NET等价物:
netstat -ano |find /i "listening"
c# tcp
c# ×1
tcp ×1