Address Changed Event Handler Delegate
References one or more methods to be called when the address of a network interface changes.
public delegate void NetworkAddressChangedEventHandler(System::Object ^ sender, EventArgs ^ e);
public delegate void NetworkAddressChangedEventHandler(object sender, EventArgs e);
type NetworkAddressChangedEventHandler = delegate of obj * EventArgs -> unit
Public Delegate Sub NetworkAddressChangedEventHandler(sender As Object, e As EventArgs)
The source of the event.
The following code example listens for address changes and displays the status of network interfaces when a NetworkAddressChanged event occurs.
This delegate handles NetworkAddressChanged 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 NetworkAddressChanged event is supported on Windows 2000 and later.
Gets an object that represents the method represented by the specified delegate.