Example #1
0
 public WlanManager()
 {
     _notificationCallback = new wlanapi.WLAN_NOTIFICATION_CALLBACK(OnNotification);
     Init();
 }
Example #2
0
 public WlanManager()
 {
     this._notificationCallback = new wlanapi.WLAN_NOTIFICATION_CALLBACK(this.OnNotification);
     this.Init();
 }
Example #3
0
 public WiFiManager()
 {
     this._notificationCallback = new wlanapi.WLAN_NOTIFICATION_CALLBACK(this.OnNotification);
     this.Init();
 }
Example #4
0
 public WlanManager()
 {
     NotificationCallback = new wlanapi.WLAN_NOTIFICATION_CALLBACK(OnWlanNotification);
     try { Initialize(); }
     catch { wlanapi.WlanCloseHandle(WlanHandle, IntPtr.Zero); }
 }