OK, I will check MSDN.
But in you WiFi - demo program i have simple situation:
- One network called umpc_wifi
- I also have profie called umpc_wifi
- Network is listed twice on networklistview (once with profile, once without it)
- umpc_wifi is adhoc network, without secure.
When I click Connect near Profiles list which fires Iface.Connect(wcl.wclWiFiConnectionMode.cmProfile, wcl.wclWiFiBssType.btAny, "umpc_wifi", ref Reason)
everything works
But when I click Connect near Networks, no matter which network (with or without profile) is selectedIface.Connect(wcl.wclWiFiConnectionMode.cmAuto, wcl.wclWiFiBssType.btAny, "umpc_wifi", wcl.wclWiFiConnectionFlag.cfNone, ref Reason)
the Reason parameter returns with 87 code
Which parameter could be invalid?