how can I detect the network connection? Can I use WMI(System.Management)? All i wish to do is to detect internetwork connection, like dial-up, or like what MSN Messenger is doing now. Whenever I connect to the internet using dial-up, MSN automatically detects the availablity of the internet(or just dial-up adapter only) and login for me. How can I do this thru .NET codes?