BluetoothClient Class

Provides client connections for Bluetooth Rfcomm network services.

Definition

Namespace: InTheHand.Net.Sockets
Assembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public sealed class BluetoothClient : IDisposable
Inheritance
Object    BluetoothClient
Implements
IDisposable

Constructors

BluetoothClientInitializes a new instance of the BluetoothClient class

Properties

Authenticate Sets whether an authenticated connection is required.
Client Gets the underlying Socket.
Connected Gets a value indicating whether the underlying Socket for a BluetoothClient is connected to a remote host.
Encrypt Sets whether an encrypted connection is required.
InquiryLength Amount of time allowed to perform the query.
PairedDevices Returns a collection of paired devices.
RemoteMachineName Gets the name of the remote device.

Methods

Close Closes the BluetoothClient and the underlying connection.
Connect Connects the client to a remote Bluetooth host using the specified Bluetooth address and service identifier.
DiscoverDevices Discovers accessible Bluetooth devices, and returns their names and addresses.
DiscoverDevices(Int32) Discovers accessible Bluetooth devices, and returns their names and addresses.
Dispose Closes the BluetoothClient and the underlying connection.
Equals
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetRemoteMachineName 
GetStream Gets the underlying stream of data.
GetType
(Inherited from Object)
ToString
(Inherited from Object)

See Also