From 15202fc36975acd562d10e855602b33c77db3b3f Mon Sep 17 00:00:00 2001 From: lsd-techno Date: Thu, 9 Jun 2022 14:01:56 +0800 Subject: [PATCH] Update NetworkChange.cs replace Network Event delegates to correspond description. --- nanoFramework.System.Net/NetworkInformation/NetworkChange.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nanoFramework.System.Net/NetworkInformation/NetworkChange.cs b/nanoFramework.System.Net/NetworkInformation/NetworkChange.cs index c8599f1..4af239c 100644 --- a/nanoFramework.System.Net/NetworkInformation/NetworkChange.cs +++ b/nanoFramework.System.Net/NetworkInformation/NetworkChange.cs @@ -59,14 +59,14 @@ internal NetworkAPStationEventArgs(bool isConnected, int StationIndex) /// /// Specifies the object that sent the network address changed event. /// Contains the network address changed event arguments. - public delegate void NetworkAvailabilityChangedEventHandler(object sender, NetworkAvailabilityEventArgs e); + public delegate void NetworkAddressChangedEventHandler(object sender, EventArgs e); /// /// Indicates a change in the availability of the network. /// /// Specifies the object that sent the network availability changed event. /// Contains the network availability changed event arguments. - public delegate void NetworkAddressChangedEventHandler(object sender, EventArgs e); + public delegate void NetworkAvailabilityChangedEventHandler(object sender, NetworkAvailabilityEventArgs e); /// /// Indicates a change in the connected clients to Access Point.