Skip to content
This repository was archived by the owner on Oct 19, 2022. It is now read-only.

Unhandled exception #5

@naXa777

Description

@naXa777

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 ).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions