![]() ![]() Yet, you have to free the memory the function has allocated for the list via WlanFreeMemory. The buffer for the WLAN_AVAILABLE_NETWORK_LIST returned is allocated by the WlanGetAvailableNetworkList function if the call succeeds. The list of information returned for each wireless network also contains a list of information elements returned by each access point for an infrastructure BSS network or a network peer for an independent BSS network (ad hoc network).īy the way: I think you don't need to allocate a buffer for the WLAN_AVAILABLE_NETWORK_LIST structure with WlanAllocateMemory. Note this function queries the access point: Using WlanGetNetworkBssList ( msdn library entry) you can get a list of BSS entries for a specific network (by passing the SSID) or for all networks of a wireless LAN interface. I think the information you're looking for is in the WLAN_BSS_ENTRY structure.Īs there might me more than one access points for a network, it makes at least sense to me that there is not a single MAC address for a network (also consider ad-hoc networks) and therefore, the MAC address is not part of the properties of the network (is no data member of the WLAN_AVAILABLE_NETWORK structure).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |