Bluetooth library in C#

Ashraful Alam picture Ashraful Alam · Sep 18, 2013 · Viewed 14.6k times · Source

I recently downloaded 32Feet.NET library to work with Bluetooth Radio Device in C#. When i tried to run a sample program included with 32feet library set up file i am getting this error message

Error 1 The type or namespace name 'InTheHand' could not be found (are you missing a using directive or an assembly reference?)

Answer

alanjmcf picture alanjmcf · Jul 8, 2014

https://32feet.codeplex.com/wikipage?title=Referencing%20the%20library

Says:

Referencing the Library

The library is provided as an assembly with name InTheHand.Net.Personal.dll. The installer arranges that it can be selected directly from Visual Studio’s Add Reference dialog.

Note: Many of the recent version of the library were provided as ZIP files alone and don't included an installer script/program; they do not add the library to the .NET tab, instead you'll need to "Browse" to the library on disk.

[...]

Like the classes in the standard network library, the library classes in 32feet.NET are in a number of namespaces. One or more Imports (VB) / using (C#) directives will thus be required. For example:

Imports InTheHand.Net // e.g. BluetoothAddress, BluetoothEndPoint etc
Imports InTheHand.Net.Sockets // e.g. BluetoothDeviceInfo, BluetoothClient, BluetoothListener
Imports InTheHand.Net.Bluetooth // e.g. BluetoothService, BluetoothRadio