This repository was archived by the owner on Oct 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Unhandled exception #5
Copy link
Copy link
Open
Description
It used to work somehow, before I installed MS .NET Framework 4.5.2. Then the application crashed unexpectedly (during CRACK operation) and refused to start again. Now I constantly get the following Microsoft .NET Framework exception:
************** Exception Text **************
System.ComponentModel.Win32Exception (0x80004005): The wireless local area network interface is powered down and doesn't support the requested operation
at SimpleWifi.Win32.WlanInterface.GetAvailableNetworkList(WlanGetAvailableNetworkFlags flags)
at SimpleWifi.Wifi.GetAccessPoints()
at WiBf.Form1.List()
at WiBf.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
It's a showstopper for me - the most high priority.
the exception is thrown from SimpleWifi library. it happens when at least one of the connected WiFi interfaces is turned off (user can turn on and off any WiFi adapter in Windows 10 settings).
I think the right solution is to ignore exception and show access points discovered by other WiFi interfaces (if there're any of them turned on ).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels