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
Go here http://www.codeproject.com/KB/IP/iphlpapi2.aspx I have used it and it works really well.
AFAIK, this information is not exposed anywhere in the BCL or WMI. You'll need to p/Invoke GetExtendedTcpTable to get it.