BlueLibs documentation

BTDevice Members

BTDevice overview

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

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

Public Instance Properties

Container (inherited from Component) Gets the IContainer that contains the Component.
Scanner Set to a scanner component that implements IBTScanner to be used for browsing devices
SelectedDevice Specifies a selected device
Site See Site

Public Instance Methods

ChooseDevice If Scanner is provided, opens a dialog and shows a list of devices to select BT device.
ChooseDeviceByBTAddr If Scanner is provided, the function resolves the BtAddr address of the device and provides a RemoteObject object associated with this device to use by this component.
ChooseDeviceByName If Scanner is provided, the function resolves the DevName name of the device and provides a RemoteDevice object associated with this device to use by this component.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component)Overloaded. Releases all resources used by the Component.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
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.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetScanner Returns IScanner interface of the currently selected scanner object used for providing list of devices for choose.
GetSelectedDevice Returns RemoteDevice object that is currently selected for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
ToString (inherited from Component) 

Public Instance Events

Disposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
OnDeviceAuthRequest An event handler to provide a password when establishing connection to the selected BT device.
OnSelectedDeviceChanged Fired when selected device is changed

Protected Instance Properties

DesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
Events (inherited from Component) Gets the list of event handlers that are attached to this Component.

Protected Instance Methods

DisposeOverloaded. Clean up any resources being used.
Finalize (inherited from Component) Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
GetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

BTDevice Class | BlueLibs.Components Namespace | OBEXFtpConnection | OBEXOPPConnection