I have to create a log file for all internet connections made by PC. It should have details of the username, time of connection, etc. I do know about the InternetGetConnectedState()
function which returns the boolean
value. Know how do I get the other details. Can some one help me out thanks in advance. I am using Win32 API and Visual c++.
You could use Network List Manager API to get list of networks using IEnumNetworks
. Then use INetwork interface to get network information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With