Using C# or Powershell to scan all available wireless networks and connect to a specific SSID

Question:

I am trying to write a script that scans all the available wireless networks and connects to a specific network (SSID). Does anyone have a sample code written already for this? I cannot install a third party software (managed wifi api) due to some restrictions.

Answer:

Check this related article:
Managing wireless network connection in C#
. There are some answers, as well as a link to a sample app on codeproject that connects and shows basic wireless info (signal strength, etc) using a UI.

Source:

Using C# or Powershell to scan all available wireless networks and connect to a specific SSID by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply