Internet connection detection

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When we get our PC online, the MSN messenger will automatically logon. Could anybody guide how can I get notified when the PC is connected to the Internet? I have tested the MSN messenger, it will automatically logon to .NET server whenever i connected my laptop to the internet, be it thru company LAN, or dailup. Is there a service or event that I can subscribe?
 
When we get our PC online, the MSN messenger will automatically logon.
Could anybody guide how can I get notified when the PC is connected to the Internet?
I have tested the MSN messenger, it will automatically logon to .NET server
whenever i connected my laptop to the internet, be it thru company LAN,
or dailup. Is there a service or event that I can subscribe?

Periodically check if the boolean property

SystemInformation.Network

is true - if it is, you're connected to the network - if not, you're
on a non-connected machine.

Marc

================================================================
Marc Scheuner May The Source Be With You!
Bern, Switzerland m.scheuner(at)inova.ch
 
Back
Top