Exemple #1
0
 private static extern int GetTcpStatistics(ref MIB_TCPSTATS pStats);
Exemple #2
0
 public static MIB_TCPSTATS GetTcpStats()
 {
     MIB_TCPSTATS tcpStats = new MIB_TCPSTATS();
     GetTcpStatistics(ref tcpStats);
     return tcpStats;
 }