连接到开放式Wi-Fi热点的wlan配置文件是什么?我正在使用Native WiFi API并跟随个人资料:
@"<?xml version=""1.0"" encoding=""US-ASCII""?>
<WLANProfile xmlns=""http://www.microsoft.com/networking/WLAN/profile/v1"">
<name>name_goes_here</name>
<SSIDConfig>
<SSID>
<name>name_goes_here</name>
</SSID>
</SSIDConfig>
<connectionType>ESS</connectionType>
<connectionMode>manual</connectionMode>
<MSM>
<security>
<authEncryption>
<authentication>open</authentication>
</authEncryption>
</security>
</MSM>
</WLANProfile>"
但它没有说网络连接配置文件的配置已损坏。
答案 0 :(得分:0)
@"<?xml version=""1.0""?>
<WLANProfile xmlns=""http://www.microsoft.com/networking/WLAN/profile/v1"">
<name>name_goes_here</name>
<SSIDConfig>
<SSID>
<name>name_goes_here</name>
</SSID>
</SSIDConfig>
<connectionType>ESS</connectionType>
<MSM>
<security>
<authEncryption>
<authentication>open</authentication>
<encryption>none</encryption>
<useOneX>false</useOneX>
</authEncryption>
</security>
</MSM>
</WLANProfile>";