Hi Guys,

I am trying to find an Efficient API to detect whether the user is connected to the Internet Using a LAN / Cable Modem/ Dial Up. I tried using wininet and the methods like GetConnectedState, IsDestinationReachable, IsNetworkAlive etc. I tried everything, but nothing seems to work consistently.... I have a firewall set and so some methods fail because of that too. Is there any other way of finding the connection type? Other important thing is I need to differentiate with LAN and Cable Modem as most of the Wininet methods have a same flag for LAN/Cable. Thanks a lot in advance. I really appreciate your help.


Thanks
Umas