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++.
I have to create a log file for all internet connections made by PC.
Share
You could use Network List Manager API to get list of networks using
IEnumNetworks. Then use INetwork interface to get network information.