获取Internet连接统计信息 [英] Get Internet Connection statistics

查看:99
本文介绍了获取Internet连接统计信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

每次连接到互联网时如何获取连接信息?
信息,例如设备名称和类型,持续时间,描述,速度,已发送和已接收(字节)等.

感谢您的考虑

HZ

Hi everybody

How to get information of connections with each time connect to the internet?
info such as Device Name and Type, Duration, Description, Speed, Sent and received (bytes), etc.

Thanks for your consideration

HZ

推荐答案

我环顾四周,发现能够使用 IP帮助器功能 [ GetTcpStatistics [ ^ ].

希望这有助于您入门.
I had a look around and what I was able to find is that you can use Win32_NetworkAdapter[^] to retrieve the adapters present in the system and then use IP Helper Funstions[^] to retrieve statistics about the connection, GetTcpStatistics[^].

Hope this helps to get you started.


这篇关于获取Internet连接统计信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆