WiFiAdapter.GetWpsConfigurationAsync(WiFiAvailableNetwork) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Performs WPS discovery to query the WPS methods supported by the network.
public:
virtual IAsyncOperation<WiFiWpsConfigurationResult ^> ^ GetWpsConfigurationAsync(WiFiAvailableNetwork ^ availableNetwork) = GetWpsConfigurationAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<WiFiWpsConfigurationResult> GetWpsConfigurationAsync(WiFiAvailableNetwork const& availableNetwork);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<WiFiWpsConfigurationResult> GetWpsConfigurationAsync(WiFiAvailableNetwork availableNetwork);
function getWpsConfigurationAsync(availableNetwork)
Public Function GetWpsConfigurationAsync (availableNetwork As WiFiAvailableNetwork) As IAsyncOperation(Of WiFiWpsConfigurationResult)
Parameters
- availableNetwork
- WiFiAvailableNetwork
An available Wi-Fi network. See WiFiAvailableNetwork class.
Returns
On successful completion, returns a WiFiWpsConfigurationResult.
- Attributes
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|