Alexandre. Posted December 1, 2009 Share Posted December 1, 2009 Hi everyone, I'm making an application in Visual C# in Visual Studio 2008, and I want to be able to do something like this: if (wirelessnetwork == x){ do this } Basically, I want to be able to check which wireless network the computer is currently connected to. Thanks, Alex Link to comment Share on other sites More sharing options...
0 +Majesticmerc MVC Posted December 2, 2009 MVC Share Posted December 2, 2009 I've not personally done anything to do with network connections in C#, but a quick Google search seems to point towards this... http://www.codeplex.com/managedwifi Its a managed library for working with 802.11 connections that works on versions of Windows from XP(SP2) and later (XP needs a hotfix in order to be able to use this library, but thats discussed on the site). It uses the Windows Native Wifi API, which is documented on the MSDN here. Here are some StackOverflow articles that might be useful... Get The SSID of the Currently Connected Wireless Network Get Available Wireless Access Points and Their Signal Strength Link to comment Share on other sites More sharing options...
Question
Alexandre.
Hi everyone,
I'm making an application in Visual C# in Visual Studio 2008, and I want to be able to do something like this:
Basically, I want to be able to check which wireless network the computer is currently connected to.
Thanks,
Alex
Link to comment
Share on other sites
1 answer to this question
Recommended Posts