C#中的蓝牙库

Ash*_*lam 6 c# bluetooth 32feet

我最近下载了32Feet.NET库,用于在C#中使用蓝牙无线设备.当我试图运行32feet库设置文件中包含的示例程序时,我收到此错误消息

错误1找不到类型或命名空间名称"InTheHand"(您是否缺少using指令或程序集引用?)

ala*_*mcf 4

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

\n\n

说:

\n\n

引用库

\n\n

该库以名称为InTheHand.Net.Personal.dll 的程序集形式提供。安装程序安排可以直接从 Visual Studio\xe2\x80\x99s“添加引用”对话框中选择它。

\n\n

注意:该库的许多最新版本均以 ZIP 文件形式单独提供,并且不包含安装程序脚本/程序;他们不会将库添加到 .NET 选项卡,而是您需要“浏览”到磁盘上的库。

\n\n

[...]

\n\n

与标准网络库中的类一样,32feet.NET 中的库类位于多个命名空间中。因此需要一个或多个Imports (VB) / using (C#) 指令。例如:

\n\n
Imports InTheHand.Net // e.g. BluetoothAddress, BluetoothEndPoint etc\nImports InTheHand.Net.Sockets // e.g. BluetoothDeviceInfo, BluetoothClient, BluetoothListener\nImports InTheHand.Net.Bluetooth // e.g. BluetoothService, BluetoothRadio\n
Run Code Online (Sandbox Code Playgroud)\n