In The Hand
DiscoverDevices Method (maxDevices, authenticated, remembered, unknown, discoverableOnly)
NamespacesInTheHand.Net.SocketsBluetoothClientDiscoverDevices(Int32, Boolean, Boolean, Boolean, Boolean)
.NET Components for Mobility
Discovers accessible Bluetooth devices and returns their names and addresses.
Declaration Syntax
C#Visual Basic
public BluetoothDeviceInfo[] DiscoverDevices(
	int maxDevices,
	bool authenticated,
	bool remembered,
	bool unknown,
	bool discoverableOnly
)
Public Function DiscoverDevices ( _
	maxDevices As Integer, _
	authenticated As Boolean, _
	remembered As Boolean, _
	unknown As Boolean, _
	discoverableOnly As Boolean _
) As BluetoothDeviceInfo()
Parameters
maxDevices (Int32)
The maximum number of devices to get information about.
authenticated (Boolean)
True to return previously authenticated/paired devices.
remembered (Boolean)
True to return remembered devices.
unknown (Boolean)
True to return previously unknown devices.
discoverableOnly (Boolean)
True to return only the devices that are in range, and in discoverable mode. See the remarks section.
Return Value
An array of BluetoothDeviceInfo objects describing the devices discovered.
Remarks

The discoverableOnly parameter is not supported on the Microsoft stack on Win32 as the stack there returns the remembered and Device-Inquiry-results already merged. It is supported on WM/CE and on Widcomm (both platforms). Note when that flag is set the other related flag values are ignored.

Assembly: InTheHand.Net.Personal (Module: InTheHand.Net.Personal) Version: 3.0.0.0