Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.12 KB

wifidirectserviceadvertiser_connectasync_2035670626.md

File metadata and controls

31 lines (22 loc) · 1.12 KB
-api-id -api-type -api-device-family-note
M:Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAdvertiser.ConnectAsync(Windows.Devices.Enumeration.DeviceInformation,System.String)
winrt method
xbox

Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAdvertiser.ConnectAsync

-description

Accepts a session request by connecting with the given PIN.

-parameters

-param deviceInfo

Describes the device to be connected. Pass in the WiFiDirectServiceSessionRequestedEventArgs.DeviceInformation property value.

-param pin

The PIN to be used to configure the session.

-returns

An asynchronous connection operation. On successful completion, returns an object that describes the session that has been created.

-remarks

-examples

-see-also

ConnectAsync(DeviceInformation)