无线热点发现工具开发

微软的Wireless LAN API for Windows XP Service Pack 2提供了相应的API函数,调用相应的API即可实现。

可以参见inSSIDer 2.0的源代码,是C#的,完整地实现了无线热点发现功能。

 

 

  • Enumerate wireless interfaces. See WlanEnumInterfaces.
  • Get the capabilities of an interface. See WlanGetInterfaceCapability.
    Wireless LAN API for Windows XP SP2:   This feature is not supported.
  • Query an interface. See WlanQueryInterface.
  • Set parameters for a network interface. See WlanSetInterface. This function can be used to turn the wireless radio on and off (and therefore enable or disable wireless network connectivity).
  • Scan for available wireless networks. See WlanScan.
  • Get the list of available or visible wireless networks. See WlanGetAvailableNetworkList.
  • Get, save, or delete a profile. See WlanGetProfile, WlanSetProfile, and WlanDeleteProfile.
  • Connect to or disconnect from a wireless network. See WlanConnect and WlanDisconnect.


  • 简单翻译一下:
  • 枚举无线网卡,参考WlanEnumInterfaces
  • 获得某个无线网卡的功能WlanGetInterfaceCapability

  • 查询某个无线网卡,参考WlanQueryInterface
  • 设置一个网卡的参数,参考WlanSetInterface,这个函数可以用来打开或关闭无线网络信号
  • 搜索可用的无线网络,参考WlanScan
  • 获得可用的或可见的无线网络,参考WlanGetAvailableNetworkList
  • 获得,保存,或者删除一个配置参考WlanGetProfile,WlanSetProfile,和WlanDeleteProfile
  • 连接或者关闭一个无线网络,参考WlanConnect和wlanDisConnect


  •  


    Inssider源码下载链接

    http://download.csdn.net/detail/itmes/4373113

  • 你可能感兴趣的:(网络,api,delete,Parameters,NetWork,工具)