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.
Important
Location consent is now required for Wi-Fi BSSID access. For details on how this affects apps using Wi-Fi or location APIs, 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)
|