Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NetworkAvailabilityChangedEventHandler Delegate

References one or more methods to be called when the availability of the network changes.

Namespace: System.Net.NetworkInformation
Assembly: System (in system.dll)

public delegate void NetworkAvailabilityChangedEventHandler (
	Object sender,
	NetworkAvailabilityEventArgs e
)
/** @delegate */
public delegate void NetworkAvailabilityChangedEventHandler (
	Object sender, 
	NetworkAvailabilityEventArgs e
)
Not applicable.

Parameters

sender

The source of the event.

e

An EventArgs object that contains data about the event.

This delegate handles NetworkAvailabilityChanged events raised by the NetworkChange class. For detailed information on receiving notification for network interface address change events, see the NetworkChange class overview documentation.

The NetworkAvailabilityChanged event is supported on Windows 2000 and later.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft