How do I get process name of an open port in C#?
You can execute netstat -anb and process output.
netstat -anb
http://www.codeproject.com/KB/IP/iphlpapi.aspx might also help