Jaa


WiFiDirectPairingProcedure Enum

Definition

Specifies a direct pairing procedure.

public enum class WiFiDirectPairingProcedure
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
enum class WiFiDirectPairingProcedure
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public enum WiFiDirectPairingProcedure
var value = Windows.Devices.WiFiDirect.WiFiDirectPairingProcedure.groupOwnerNegotiation
Public Enum WiFiDirectPairingProcedure
Inheritance
WiFiDirectPairingProcedure
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
GroupOwnerNegotiation 0

Group Owner Negotiation. The connecting device chooses the configuration method.

Invitation 1

P2P Invitation. The accepting device chooses the configuration method.

Remarks

Wi-Fi Direct supports two different pairing procedures. In the Group Owner Negotiation procedure, the connecting device chooses the configuration method (PIN entry, PIN display, or push-button pairing.) In the P2P Invitation procedure, the accepting device chooses the configuration method. Use the values in this enumeration to identify a pairing procedure.

Applies to