Пример #1
0
        private void HandleNotificationEvent(ref WlanNotificationData data, IntPtr context)
        {
            switch (data.Code)
            {
            case (int)WlanHostedNetworkNotificationCode.StateChange:
            case (int)WlanHostedNetworkNotificationCode.PeerStateChange:
                SetWlanHostedNetworkInfo();
                OnStateChanged();
                break;

            default:
                break;
            }
        }
Пример #2
0
 private void HandleNotificationEvent(ref WlanNotificationData data, IntPtr context)
 {
     switch (data.Code)
     {
         case (int)WlanHostedNetworkNotificationCode.StateChange:
         case (int)WlanHostedNetworkNotificationCode.PeerStateChange:
             SetWlanHostedNetworkInfo();
             OnStateChanged();
             break;
         default:
             break;
     }
 }