manage wifi api connect failed

Sep 14, 2010 at 6:08 PM

Hi all,

i am trying to connect to wifi using the wifi api but i couldn't get connected so far. Can you help me about it?

My system in also win7 with VS2010 .net4.0. I disabled ethernet, disconneted WIFI and then run the code.
My code lists all the wifi, also set up the profile correctly (the profile is shown in win7 also) but when try to connect, it stops at code "case Wlan.WlanNotificationCodeAcm.ScanFail:" in function: OnWlanNotification.
 
Question: 1) do i need to disable win7 wifi management? 2) if i don't have to disable win7 wifi management, when my code connects to wifi successfully, does the win7 wifi status show connected also? 3) can anyone send me some working sample code or do you also have any problems when you try to connect to wifi?

many thanks!

Sep 14, 2010 at 9:15 PM

i got it. thanks!

Oct 17, 2010 at 12:19 AM

Can you explain how you could solve your problem ? i'll try same things

Oct 17, 2010 at 12:45 PM
The variable mac(maybe) is not macbut actually the heX of ssid


From: jeje86 <notifications@codeplex.com>
Sent: 2010年10月16日 8:19 PM
To: davidshen2001@gmail.com
Subject: Re: manage wifi api connect failed [managedwifi:227202]

From: jeje86

Can you explain how you could solve your problem ? i'll try same things

Jul 8, 2011 at 10:11 AM

I don't understand this. When you translate "Cheesecake" into hex you'll get "43 68 65 65 73 65 63 61 6b 65", don't you?