【问题标题】:Wlan profile to connect to open wi-fi hotspotWLAN 配置文件以连接到打开的 wi-fi 热点
【发布时间】:2013-10-21 19:03:00
【问题描述】:

连接到打开的 wi-fi 热点的正确 wlan 配置文件是什么?我正在使用本机 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>"

但它没有说网络连接配置文件的配置已损坏。

【问题讨论】:

    标签: c# windows api configuration wifi


    【解决方案1】:
    @"<?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>";  
    

    【讨论】:

      猜你喜欢
      • 2014-01-10
      • 2023-01-29
      • 1970-01-01
      • 2016-12-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-21
      • 1970-01-01
      相关资源
      最近更新 更多