ParseActiveTcpConnectionsFromFiles() static private method

static private ParseActiveTcpConnectionsFromFiles ( string tcp4ConnectionsFile, string tcp6ConnectionsFile ) : System.Net.NetworkInformation.TcpConnectionInformation[]
tcp4ConnectionsFile string
tcp6ConnectionsFile string
return System.Net.NetworkInformation.TcpConnectionInformation[]
 public override TcpConnectionInformation[] GetActiveTcpConnections()
 {
     return(StringParsingHelpers.ParseActiveTcpConnectionsFromFiles(NetworkFiles.Tcp4ConnectionsFile, NetworkFiles.Tcp6ConnectionsFile));
 }
Ejemplo n.º 2
0
 public override TcpConnectionInformation[] GetActiveTcpConnections()
 {
     return(StringParsingHelpers.ParseActiveTcpConnectionsFromFiles(Socket.OSSupportsIPv4 ? NetworkFiles.Tcp4ConnectionsFile : null,
                                                                    Socket.OSSupportsIPv6 ? NetworkFiles.Tcp6ConnectionsFile : null));
 }