Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 856 Bytes

devicepairingrequestedeventargs_acceptwithaddress_1238468511.md

File metadata and controls

27 lines (16 loc) · 856 Bytes
-api-id -api-type
M:Windows.Devices.Enumeration.DevicePairingRequestedEventArgs.AcceptWithAddress(System.String)
winrt method

Windows.Devices.Enumeration.DevicePairingRequestedEventArgs.AcceptWithAddress(System.String)

-description

Accepts a PairingRequested event with an address, and pairs the device with the application.

-parameters

-param address

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.

-remarks

-see-also

-examples