Пример #1
0
 public void GetTcpStats()
 {
     TcpStats = new MIB_TCPSTATS();
     NetInfo.GetTcpStats(ref TcpStats);
 }
Пример #2
0
        [DllImport("iphlpapi.dll", SetLastError = true)]        //TCP statistics

        public extern static int GetTcpStats(ref MIB_TCPSTATS pStats);