2

Possible Duplicate:
How to find a list of wireless networks (SSID's) in Java, C#, and/or C?

I want to display all currently available networks in my app. Similar to the wireless network configuration screen in Windows, I want to show which one is secured and which one is public. Is there an API in C# I can use?

Community
  • 1
  • 1
Metro
  • 1,121
  • 1
  • 13
  • 33
  • Native WIFI API Take a look @ http://stackoverflow.com/questions/917910/how-to-find-a-list-of-wireless-networks-ssids-in-java-c-and-or-c – Alex K. May 16 '11 at 16:16

2 Answers2

1

C# does not provide an API to access the wireless networking. You should use Native Wifi Reference to access Wifi via P/Invoke.

For example, in order to get the list of available Wifi networks, use WlanGetAvailableNetworkList Function.

Centro
  • 3,892
  • 2
  • 25
  • 31
  • Just figured out that managedwifi [link](http://managedwifi.codeplex.com/) uses Native Wifi Reference [link](http://msdn.microsoft.com/en-us/library/ms706275%28v=VS.85%29.aspx), so there aren't many options to choose :) – alex.b May 16 '11 at 16:27
0

I've googled these ones:

Hope it'll help.

alex.b
  • 4,547
  • 1
  • 31
  • 52