PeerFinder.AllowWiFiDirect | allowWiFiDirect property
Specifies whether the PeerFinder class may connect a StreamSocket object by using Wi-Fi Direct.
Syntax
public: static property bool AllowWiFiDirect { bool get(); void set (bool value); }
Property value
Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]
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. For more information, see Proximity.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
|
Capabilities |
|
See also
- PeerFinder
- Proximity and Tapping (JavaScript)
- Proximity and Tapping (C#/VB/C++)
- Samples
- Proximity sample
Build date: 2/25/2013
