PeerFinder.AllowBluetooth Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies whether the PeerFinder class may connect a StreamSocket object by using Bluetooth.
public:
static property bool AllowBluetooth { bool get(); void set(bool value); };
static bool AllowBluetooth();
static void AllowBluetooth(bool value);
public static bool AllowBluetooth { get; set; }
var boolean = PeerFinder.allowBluetooth;
PeerFinder.allowBluetooth = boolean;
Public Shared Property AllowBluetooth As Boolean
Property Value
Boolean
bool
True if the PeerFinder class may connect a StreamSocket object by using Bluetooth; otherwise false. The default is true.
Windows requirements
App capabilities |
ID_CAP_NETWORKING [Windows Phone]
proximity
ID_CAP_PROXIMITY [Windows Phone]
|