Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
28 lines (20 loc) · 1.17 KB

deviceinformationpairing_pairasync_868993300.md

File metadata and controls

28 lines (20 loc) · 1.17 KB
-api-id -api-type
M:Windows.Devices.Enumeration.DeviceInformationPairing.PairAsync(Windows.Devices.Enumeration.DevicePairingProtectionLevel)
winrt method

Windows.Devices.Enumeration.DeviceInformationPairing.PairAsync

-description

Attempts to pair the device using a provided level of protection.

-parameters

-param minProtectionLevel

The required level of protection to use for the pairing action.

-returns

The result of the pairing action.

-remarks

For all protocols other than Bluetooth, the minProtectionLevel value is ignored and the default behavior is always assumed. For the Bluetooth protocol, the pairing attempt will fail if the device doesn’t support the specified minimum protection level or a higher level. If the device doesn’t support the specified minimum protection level but does support a higher protection level, the higher protection level is used.

-examples

-see-also

PairAsync