-5

Is there an observer available in .NET which notifies when the host's internet connection gets connected or disconnected?

RoK
  • 5
  • 2

1 Answers1

1

The NetworkAvailabilityChanged event of the NetworkChange class is probably the closest you get. Please refer to the following article for more information.

Detect Internet Network Availability: https://www.codeproject.com/Articles/64975/Detect-Internet-Network-Availability

mm8
  • 135,298
  • 10
  • 37
  • 59