-api-id | -api-type |
---|---|
M:Windows.Devices.Enumeration.DevicePairingRequestedEventArgs.AcceptWithAddress(System.String) |
winrt method |
Accepts a PairingRequested event with an address, and pairs the device with the application.
Your app must provide an address from the device. This is typically used for directed discovery over a network protocol such as IPP or UPnP, where the application already knows the IP/address/URL of the device. You should call AcceptWithAddress if you want the pairing to complete. Pass in the address as a parameter.