Get Active Ports and Associated Process Names In C#

07/28/2013

Recently I found myself needing to find a way to determine what open and listening ports along with their associated running processes are currently active on a Windows machine using C#. Some extensive Googling returned pretty dismal results. Retrieving a list of open ports is simple. Retrieving a list of running processes is simple. A Read More