WiFiAdapter.RequestAccessAsync WiFiAdapter.RequestAccessAsync WiFiAdapter.RequestAccessAsync WiFiAdapter.RequestAccessAsync WiFiAdapter.RequestAccessAsync Method

Definition

A static method for determining whether the current user can access any of the Wi-Fi adapters on this device.

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

Always returns DeniedBySystem on Xbox.

public : static IAsyncOperation<WiFiAccessStatus> RequestAccessAsync()
static IAsyncOperation<WiFiAccessStatus> RequestAccessAsync() const;
public static IAsyncOperation<WiFiAccessStatus> RequestAccessAsync()
Public Shared Function RequestAccessAsync() As IAsyncOperation(Of WiFiAccessStatus)
Windows.Devices.WiFi.WiFiAdapter.requestAccessAsync().done( /* Your success and error handlers */ );

Returns

An asynchronous access operation. On successful completion, returns a status enumeration value describing whether the current user can access any Wi-Fi adapter.

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

Always returns DeniedBySystem on Xbox.