-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.Devices.WiFiDirect.Services.WiFiDirectServiceAdvertiser.ConnectAsync(Windows.Devices.Enumeration.DeviceInformation,System.String) |
winrt method |
xbox |
Accepts a session request by connecting with the given PIN.
Describes the device to be connected. Pass in the WiFiDirectServiceSessionRequestedEventArgs.DeviceInformation property value.
The PIN to be used to configure the session.
An asynchronous connection operation. On successful completion, returns an object that describes the session that has been created.