Wireless Access Point Detection  
Author Message
Orniana





PostPosted: .NET Framework Networking and Communication, Wireless Access Point Detection Top

Hy,

   I am trying to write an application in C# for detecting which Wireless Networks are available.

    I couldn't find the solution if I am not connected to the network, meaning my connection status is down.

   I want to choose my connection automaticall!

Thanks in advance for your suggestions!

Orniana




.NET Development3  
 
 
Mike Flasko





PostPosted: .NET Framework Networking and Communication, Wireless Access Point Detection Top

Such an API is not exposed via System.Net at this time. To determine if you have an active network connection see the System.Net.NetworkInformation namespace as it has events such such actions.

Why do you want to detect wireless networks Could you expand on your scenario

There is a wireless API (native code) which will likely address your issue, but you would need to P/Invoke: http://windowssdk.msdn.microsoft.com/en-us/library/ms705969.aspx