CSoft.TopPortLib
6.4.0
See the version list below for details.
dotnet add package CSoft.TopPortLib --version 6.4.0
NuGet\Install-Package CSoft.TopPortLib -Version 6.4.0
<PackageReference Include="CSoft.TopPortLib" Version="6.4.0" />
<PackageVersion Include="CSoft.TopPortLib" Version="6.4.0" />
<PackageReference Include="CSoft.TopPortLib" />
paket add CSoft.TopPortLib --version 6.4.0
#r "nuget: CSoft.TopPortLib, 6.4.0"
#:package CSoft.TopPortLib@6.4.0
#addin nuget:?package=CSoft.TopPortLib&version=6.4.0
#tool nuget:?package=CSoft.TopPortLib&version=6.4.0
c# 通讯库使用
为什么要使用通讯库?
1.集成线程安全通讯队列,一发一收为一个队列任务,可以多线程添加,线程安全。
2.集成各种分包方式,节省每次编写成本,降低代码出错,使程序员专注于业务逻辑,并且,如果认为自己写的分包更好,实现接口IParser,即可接入。
3.支持各种通讯口,例如:串口,Tcp client, Tcp server,蓝牙,命名管道,等等,如果在库中未列出只需要实现接口IPhysicalPort ,即可接入使用,享受通讯库提供的自动重连,上层分包,通讯队列等一系列服务。
4.整库使用异步开发,不卡UI。
5.使用标准库开发,支持.net framework 4.8,.net core, .net 5,.net6,甚至是Xamarin(Android)。
6.低代码量,简单配置,即可完成复杂操作
总结:通讯是上位机开发中重要的一环,稍有错误,导致严重bug,使用通讯库,可以省去大量重复工作量,使程序员更专注于业务逻辑开发。
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- CSoft.Communication (>= 6.4.0)
- CSoft.Crow (>= 6.4.0)
- CSoft.Parser (>= 6.4.0)
-
net6.0
- CSoft.Communication (>= 6.4.0)
- CSoft.Crow (>= 6.4.0)
- CSoft.Parser (>= 6.4.0)
NuGet packages (5)
Showing the top 5 NuGet packages that depend on CSoft.TopPortLib:
| Package | Downloads |
|---|---|
|
CSoft.Protocol.ProtocolInterface
协议接口 |
|
|
CSoft.Communication.Bluetooth
Package Description |
|
|
GalaxySmartDeviceCore
如果银河系有旋律,星星一定是发光的IoT设备。做可信赖的智慧工业物联网的生态型伙伴,听一听宇宙终极乐章。 |
|
|
FTIRSpectrometerCore
基于设备私有网络应用层通信协议开发为傅里叶红外光谱产品服务的配套模块库 |
|
|
CSoft.MAUI.FT231X
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 10.0.7 | 756 | 1/14/2026 | |
| 10.0.6 | 387 | 1/13/2026 | |
| 10.0.4 | 779 | 12/26/2025 | |
| 10.0.2 | 1,271 | 12/10/2025 | |
| 10.0.1 | 444 | 12/8/2025 | |
| 10.0.0 | 1,052 | 11/12/2025 | |
| 9.17.0 | 407 | 10/20/2025 | |
| 9.16.13 | 852 | 9/8/2025 | |
| 9.16.12 | 688 | 8/21/2025 | |
| 9.16.11 | 591 | 8/13/2025 | |
| 9.16.10 | 368 | 8/8/2025 | |
| 9.16.9 | 343 | 8/8/2025 | |
| 9.16.8 | 376 | 8/8/2025 | |
| 9.16.7 | 425 | 8/6/2025 | |
| 9.16.6 | 430 | 8/6/2025 | |
| 9.16.5 | 514 | 8/5/2025 | |
| 9.16.4 | 319 | 8/5/2025 | |
| 6.4.0 | 705 | 10/13/2022 |
通讯口使用类库