Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DevicePairingRequestedEventArgs.Accept Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

Name Description
Accept()

Accepts a PairingRequested event and pairs the device with the application.

Accept(String)

Accepts a PairingRequested event and pairs the device with the application. Requires a pin for pairing purposes.

Accept()

Accepts a PairingRequested event and pairs the device with the application.

public:
 virtual void Accept() = Accept;
/// [Windows.Foundation.Metadata.Overload("Accept")]
void Accept();
[Windows.Foundation.Metadata.Overload("Accept")]
public void Accept();
function accept()
Public Sub Accept ()
Attributes

See also

Applies to

Accept(String)

Accepts a PairingRequested event and pairs the device with the application. Requires a pin for pairing purposes.

public:
 virtual void Accept(Platform::String ^ pin) = Accept;
/// [Windows.Foundation.Metadata.Overload("AcceptWithPin")]
void Accept(winrt::hstring const& pin);
[Windows.Foundation.Metadata.Overload("AcceptWithPin")]
public void Accept(string pin);
function accept(pin)
Public Sub Accept (pin As String)

Parameters

pin
String

Platform::String

winrt::hstring

The pin to use for attempting to pair a device.

Attributes

See also

Applies to


Feedback

Was this page helpful?