This is a wrapper to IpHelperAPI.dll. Original lib taking from here. This library provides many things that are available from netstat, but callable by c# code.
An example of usage:
var listeners = IpHlpApidotnet.NetStatFunctions.GetTcpConnections();
listeners.Where (t => t.ProcessName.Contains("Event")).Dump("Eventstore processes");
listeners.Where (l => l.Local.Port == 2113 && l.State != "TIME_WAIT").Dump("Eventstore Http Port");