How to programmatically connect to a specific SSID using a specific network adapter in .NET?

Brett Coley
Brett Coley used Ask the Experts™
I'm having issues with a piece of software that relies on a connection to a specific SSID using a wireless USB NIC.

The software relies on data sent to the computer from a scanning tool that connects to the same local network as the computer, it's relatively rare but we have problems with windows autoconnect working with the adapters we provide to the clients.

I'm looking for a way to check if the connection is working, and if it is not, to connect the wireless adapter to the SSID when the software is started.
 I'm using and C#.

If there is any other info you need I'll be happy to provide it.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software & Systems Engineer
There seems to be a WiFiAdapter Class is the documentation

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial