public void GetTcpStats() { TcpStats = new MIB_TCPSTATS(); NetInfo.GetTcpStats(ref TcpStats); }
[DllImport("iphlpapi.dll", SetLastError = true)] //TCP statistics public extern static int GetTcpStats(ref MIB_TCPSTATS pStats);