Click here to Skip to main content
15,902,893 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
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
Posted
Updated 3-Oct-11 6:58am
v5

1 solution

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.
 
Share this answer
 
Comments
hzawary 3-Oct-11 7:36am    
thank you and very well, but is theoretically, how to I use them?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900