Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.67 KB

wifiadapter_fromidasync_1322863552.md

File metadata and controls

42 lines (27 loc) · 1.67 KB
-api-id -api-type -api-device-family-note
M:Windows.Devices.WiFi.WiFiAdapter.FromIdAsync(System.String)
winrt method
xbox

Windows.Devices.WiFi.WiFiAdapter.FromIdAsync

-description

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.

A static method that initiates an asynchronous operation to get a WiFiAdapter object.

Note that if you do not specify that your app has the wiFiControl capability in your app manifest, this method fails.

-parameters

-param deviceId

The Device ID of the Wi-Fi adapter to be retrieved. Obtain a Device ID through the Windows.Devices.Enumeration namespace.

-returns

An asynchronous get operation. On successful completion, returns a WiFiAdapter object specific to the requested Device ID.

If you do not specify that your app has the wiFiControl capability in your app manifest, this method fails.

-remarks

-examples

-see-also

-capabilities

wiFiControl