-api-id | -api-type | -api-device-family-note |
---|---|---|
P:Windows.Networking.Proximity.PeerFinder.AllowWiFiDirect |
winrt property |
xbox |
Specifies whether the PeerFinder class may connect a StreamSocket object by using Wi-Fi Direct.
True if the PeerFinder class may connect a StreamSocket object by using Wi-Fi Direct; otherwise false. The default is true.
Setting the AllowWiFiDirect property to false disables the ability to browse for peer apps using Wi-Fi Direct. You will not be able to use the FindAllPeersAsync method to browse for remote peers.
Wi-Fi Direct is not supported on Windows Phone 8.
Proximity and Tapping (C#/VB/C++), Proximity sample
proximity ID_CAP_PROXIMITY [Windows Phone], ID_CAP_NETWORKING [Windows Phone]