public TcpStateStatistics GetStatisticsByTCPv6()
        {
            var stats = new TcpStateStatistics();

            GetStatisticsInternal(AddressFamily.AF_INET6, stats);
            return(stats);
        }
 private void GetStatisticsInternal(AddressFamily addressFamily, TcpStateStatistics stats)
 => NetworkUtility.GetTcpStats(addressFamily, stats, pid, localPort);