Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.36 KB

peerfinder_allowwifidirect.md

File metadata and controls

33 lines (23 loc) · 1.36 KB
-api-id -api-type -api-device-family-note
P:Windows.Networking.Proximity.PeerFinder.AllowWiFiDirect
winrt property
xbox

Windows.Networking.Proximity.PeerFinder.AllowWiFiDirect

-description

Specifies whether the PeerFinder class may connect a StreamSocket object by using Wi-Fi Direct.

-property-value

True if the PeerFinder class may connect a StreamSocket object by using Wi-Fi Direct; otherwise false. The default is true.

-remarks

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.

Windows Phone 8

Wi-Fi Direct is not supported on Windows Phone 8.

-examples

-see-also

Proximity and Tapping (C#/VB/C++), Proximity sample

-capabilities

proximity ID_CAP_PROXIMITY [Windows Phone], ID_CAP_NETWORKING [Windows Phone]