Delen via


WiFiAccessStatus Enum

Definition

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.

Used to report the results of an attempt to request access to a Wi-Fi adapter.

public enum class WiFiAccessStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WiFiAccessStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WiFiAccessStatus
var value = Windows.Devices.WiFi.WiFiAccessStatus.unspecified
Public Enum WiFiAccessStatus
Inheritance
WiFiAccessStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Unspecified 0

The asynchronous request has not completed yet.

Allowed 1

Access has been allowed.

DeniedByUser 2

Access has been denied by the user, through the user interface.

DeniedBySystem 3

Access has been denied by the system.

Applies to

See also