-api-id | -api-type | -api-device-family-note |
---|---|---|
T:Windows.Devices.WiFi.WiFiAvailableNetwork |
winrt class |
xbox |
Note
Some information relates to pre-released product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API will be affected by upcoming changes to operating system behavior, planned for fall 2024. For more info, see Changes to API behavior for Wi-Fi access and location.
Describes an available Wi-Fi network.
You do not instantiate objects of this class directly. The system creates instances of this object in as part of the process of scanning for networks and raising the WiFiAdapter.AvailableNetworksChanged event. You can initiate a network scan using the WiFiAdapter.FindAllAdaptersAsync static method or the WiFiAdapter.ScanAsync method on a particular adapter. You can also retrieve the list of networks from the results of the most current scan from a given Wi-Fi adapter by getting the AvailableNetworks property of the WiFiAdapter.NetworkReport.