How can I access netstat-like Ethernet statistics from a Windows program

前端 未结 7 1991
臣服心动
臣服心动 2020-12-03 16:11

How can I access Ethernet statistics from C/C++ code like netstat -e?

Interface Statistics

                       Received            Sent
         


        
7条回答
  •  情深已故
    2020-12-03 16:36

    You might find a feasable WMI performance counter, e.g. Win32_PerfRawData_Tcpip_NetworkInterface.

提交回复
热议问题