WiFiAdapter.GetWpsConfigurationAsync(WiFiAvailableNetwork) Methode

Definition

Hinweis

Einige Informationen beziehen sich auf Vorabversionen, die vor der kommerziellen Freigabe grundlegend geändert werden können. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.

Wichtig

Diese API wird von bevorstehenden Änderungen am Betriebssystemverhalten beeinflusst, die für Herbst 2024 geplant sind. Weitere Informationen finden Sie unter Änderungen am API-Verhalten für Wi-Fi Zugriff und Speicherort.

Führt die WPS-Ermittlung aus, um die vom Netzwerk unterstützten WPS-Methoden abzufragen.

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)

Parameter

availableNetwork
WiFiAvailableNetwork

Ein verfügbares Wi-Fi-Netzwerk. Siehe WiFiAvailableNetwork-Klasse.

Gibt zurück

Gibt nach erfolgreicher Fertigstellung ein WiFiWpsConfigurationResult zurück.

Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 Fall Creators Update (eingeführt in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v5.0)

Gilt für:

Weitere Informationen