BlueLibs documentation

BtScanner Members

BtScanner overview

Public Static (Shared) Fields

MAX_SEARCH_TIME defines the largest possible timeout for Bluetooth discovery

Public Static (Shared) Methods

Equals (inherited from Object) Determines whether the specified Object instances are considered equal.
ReferenceEquals (inherited from Object) Determines whether the specified Object instances are the same instance.

Public Instance Constructors

BtScanner Overloaded. Initializes a new instance of the BtScanner class.

Public Instance Properties

ReturnAuthenticated (inherited from DeviceScanner) This property defines search criteria. If set the scanner will return already authenticated devices. If not set authenticated devices would not be returned in search results
ReturnConnected (inherited from DeviceScanner) This property defines search criteria. If set the scanner will return already connected devices. If not set connected devices would not be returned in search results
ReturnRemembered (inherited from DeviceScanner) This property defines search criteria. If set the scanner will return remembered (previously used) devices.
ReturnUnknown (inherited from DeviceScanner) This property defines search criteria. If set the scanner will return devices that could not be classified
SearchTimeOut (inherited from DeviceScanner) This property manages search timeout values. After search timeout elapsed, searching will stop. If set to zero search will return immediately and result will contain only remembered or connected devices.

Public Instance Methods

ClearCachedDevice Clears cashed parameters for this device. Sometimes cashed parameters are no longer valid and must be cleared before using the device
ClearCachedDevices Clears cached parameters for all devices
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetDeviceByAddress Creates RemoteDevice using the address
GetDeviceByName Returns list of devices having that name. The method is very useful when devices could be identified by name like "my Nokia", "Company iPaq 2"
GetDeviceList returns list of devices
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

BtScanner Class | BlueLibs.BlueTooth Namespace