haake

haake

  • NA
  • 3
  • 0

Detecting internet connection

Mar 3 2004 3:30 AM
Hello! I've searched these forums for an answer to this question, and found one, that didn't work on my system (using Wintel.dll) http://216.26.160.137/Forums/AspNetForums20/ShowPost.aspx?PostID=51 It says that I am connected always even when I am not. and the returned connectionflag is always 81 no matter what my connectionstate is. I want to write a program that checks how much time my fiancee and I use on the internet. I have a dial up connection, and would like a program wich resides in the background, and pops up when a connection to the internet is detected. I would like to be able to write a method that looks like this: public static bool IsModemConnectedToTheInternet() Can anyone help me? Y.S. /Rickard Haake

Answers (2)