When doing methods like Scan on Join, the driver seems to be blocking my application. So I put them into a new thread, and it’s still blocking my app.
Is there something I else I can to make them non-blocking?
Snippet:
public void StartWiFi()
{
Thread thrd = new Thread(new ThreadStart(wifiStart));
thrd.Start();
}
void wifiStart()
{
current = null;
var infos = _wifi.Scan();
foreach (var info in infos)
{
if (info.SSID == "myNetwork")
{
current = info;
}
}
Thanks