コード例 #1
0
ファイル: WlanInterface.cs プロジェクト: FSLASER/simplewifi
        internal void OnWlanReason(WlanNotificationData notifyData, WlanReasonCode reasonCode)
        {
            WlanReasonNotification?.Invoke(notifyData, reasonCode);

            if (queueEvents)
            {
                var queuedEvent = new WlanReasonNotificationData
                {
                    notifyData = notifyData,
                    reasonCode = reasonCode
                };
                EnqueueEvent(queuedEvent);
            }
        }
コード例 #2
0
 private void WlanInterface_WlanReasonNotification(Wlan.WlanNotificationData notifyData, Wlan.WlanReasonCode reasonCode)
 {
     WlanReasonNotification?.Invoke(notifyData, reasonCode);
 }