Qt 6.12 LTS is out! See what's new in the release
blog
Get network statistics using Qt
-
Hello!
I want to get the network adapter statistics. For example, I want to get how many bytes have been received/sent and current download/upload speed on specific Ethernet or wireless card adapter.
For example:


Is there any class in
Qtwhich could provide such information or should I use the platform specific methods in my case it isWindows? Thanks. -
Hi,
No there's not, it's outside of Qt's scope. You'll have to use native API for that.
-
Ok. I will use the
Win APIorWinPcaplib. Thank you.