Hi, i'm Daniel and i have a question. Do yo know about wifi network connection with addPreferrednetwork method? This is from Opennetcf.Net.NetworkInformation class. I'm making a code to connect my PDA (HP iPAQ 216 Enterprise) with a AP Cisco WAP200. I'm using the follow code on C#:
addpreferrednetwork("SSID", true, "key", 1, authmode, wepstatus, eapparameters);
If connec with OpenSystem and WEPEnabled its ok. But if connect with WPA2PSK and AESEnalbed or TKIPEnalbed then i can connect and add networ bat not internet acces.
Here partial code on C#.
public void Connecting()
INetworkInterface allNetworkInterfaces = NetworkInterface.GetAllNetworkInterfaces();
foreach (NetworkInterface nInterface in allNetworkInterfaces)
if (nInterface is WirelessZeroConfigNetworkInterface)
WirelessZeroConfigNetworkInterface interface = (WirelessZeroConfigNetworkInterface)nInterface;
estado= interface.AddPreferredNetwork("SSID", true, "11111111", 1, AuthenticationMode.WPA2PSK, WEPStatus.AESEnabled, null);
//Here refence other object
If setting wifi network manually with some date (WPA2, AES, Pass and SSID) then it's ok internet access, but if connecting programatically then no way of internet access. It's ok all setting and authentique SSID but not internet.
Know Sombody about this?
May be error of password? or Encripting?
Thank you to answer!