コード例 #1
0
        public TcpStateStatistics GetStatisticsByTCPv6()
        {
            var stats = new TcpStateStatistics();

            GetStatisticsInternal(AddressFamily.AF_INET6, stats);
            return(stats);
        }
コード例 #2
0
 private void GetStatisticsInternal(AddressFamily addressFamily, TcpStateStatistics stats)
 => NetworkUtility.GetTcpStats(addressFamily, stats, pid, localPort);