private void HandleNotificationEvent(ref WlanNotificationData data, IntPtr context) { switch (data.Code) { case (int)WlanHostedNetworkNotificationCode.StateChange: case (int)WlanHostedNetworkNotificationCode.PeerStateChange: SetWlanHostedNetworkInfo(); OnStateChanged(); break; default: break; } }
private void HandleNotificationEvent(ref WlanNotificationData data, IntPtr context) { switch (data.Code) { case (int)WlanHostedNetworkNotificationCode.StateChange: case (int)WlanHostedNetworkNotificationCode.PeerStateChange: SetWlanHostedNetworkInfo(); OnStateChanged(); break; default: break; } }