Questions tagged [simplewifi]

7 questions
3
votes
1 answer

Simple WiFi Bug? Value cannot be null. (Parameter 'stream')

This problem prevents connecting to a new network using Simple WiFi (NuGet, GitHub). For whatever reason, a connection point that already has a profile works just fine. The problem line is accessPoint.Connect(request). When the password is wrong,…
Denis G. Labrecque
  • 1,023
  • 13
  • 29
2
votes
1 answer

Is it possible to set a class object as a string value in C#

I'm using the simpleWifi library to implement connections to Wi-Fi access points and I'm trying to set a string value to a class object. Down below in my example, I'm trying to set the variable WifiPoint to a string value from another window form.…
Sahil Bora
  • 173
  • 1
  • 12
0
votes
1 answer

C# SimpleWifi can't connect to an unknown network

I can't connect to wifi networks that the PC doesn't know. If I manually connect first, then the program is able to connect programmatically as long as I don't click on "Forget". If the network is not known then the ap.Connect(authRequest) returns…
kreestyahn
  • 33
  • 2
0
votes
0 answers

Why does ap.Connect(authrequest) return a null value?

I am having a problem with my code where i run into an error when i try to click the join button. It says the ap.Connect(authrequest) is returning a null value so it cannot return a bool value. I am doing this in visual studio in a .net forms i…
0
votes
3 answers

Getting selected item from Combobox and setting tag value

For my application, the user can select their preferred WiFi Access point they want to connect to using a Combobox. I'm trying to convert the selected item from the Combobox to a string value to be used with the SimpleWifi library This is my…
Sahil Bora
  • 173
  • 1
  • 12
0
votes
1 answer

Is there a way to programatically force Windows to search for new WiFi nextworks?

I have a (C#) process which looks for the presence of an SSID, and connects if it appears. As a process it works, but it does take a long time for the SSID to appear in the list. IF I click on the WiFi icon in Windows to show available networks, it…
Paul
  • 9,409
  • 13
  • 64
  • 113
-1
votes
1 answer

Connect to selected wifi VB

I successfully list out remembered wifi in my windows profile using Native WI-FI from Nuget package. This is my code load list of WI-FI Private Sub loadWifi() listWifi.Items.Clear() Dim wlan As WlanClient = New WlanClient() Dim…