Beispiel #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;
            }
        }
Beispiel #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;
     }
 }