Issues with using Managed WiFi (NativeWiFi API)

前端 未结 2 1077
长发绾君心
长发绾君心 2020-12-15 14:40

I am trying to create and connect to a WLAN profile using Native WiFi (https://managedwifi.codeplex.com/). I am able to view all the Network BSS List and their parameters. H

2条回答
  •  孤城傲影
    2020-12-15 15:07

    The issue (Error#1) is now resolved. The profilexml file format was different for me. Here is the profilexml after I changed it.

    Dim profileXml As String = String.Format("{0}{1}{0}ESSautoWPA2PSKAESfalsepassPhrasefalse{2}", GlobalVariables.ssidname, hexval, TextBox1.Text)
    

    Also the second issue (Error#2) was resolved when I uninstalled ManagedWiFi package from my solution and added the whole ManagedWiFi project to the solution. Then I made the change in WlanApi.cs as mentioned in SimpleWiFi Or Type Native Wifi.Wlan + WlanReasonCode cannot be marshaled error.

提交回复
热议问题