Network Detection

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

Guest

When a user disconnects their wire to the network or those who use RAS disconnects - I need for my Winforms app to be informed the moment it happens. What is the best way to code this in C# ? Any examples or code snippets?
 
Demetri,

possibly you have to take a look at
http://msdn.microsoft.com/library/d...curity/receiving_connection_notifications.asp
and
http://msdn.microsoft.com/msdnmag/issues/02/08/SENS/default.aspx

Otherwise you might need to poll SystemInformation.Network.

HTH
Alex

Demetri said:
When a user disconnects their wire to the network or those who use RAS
disconnects - I need for my Winforms app to be informed the moment it
happens. What is the best way to code this in C# ? Any examples or code
snippets?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top