Jaa


WiFiDirectConfigurationMethod Enum

Definition

Specifies a Wi-Fi Direct configuration method. Configuration is how a user tells one piece of Wi-Fi Direct equipment to connect to another piece of Wi-Fi Direct equipment.

public enum class WiFiDirectConfigurationMethod
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
enum class WiFiDirectConfigurationMethod
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public enum WiFiDirectConfigurationMethod
var value = Windows.Devices.WiFiDirect.WiFiDirectConfigurationMethod.providePin
Public Enum WiFiDirectConfigurationMethod
Inheritance
WiFiDirectConfigurationMethod
Attributes

Windows requirements

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

Fields

Name Value Description
ProvidePin 0

This device accepts entry of the PIN being displayed on the accepting device.

DisplayPin 1

This device accepts connections from devices that provide the PIN this device currently displays.

PushButton 2

This device uses the pushbutton method for pairing. A user pushes a button on both the connecting device and the accepting device in order to establish a connection between them.

Applies to