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 (6)
Showing the top 5 NuGet packages that depend on CSoft.TopPortLib:
| Package | Downloads |
|---|---|
|
CSoft.Communication.Bluetooth
Package Description |
|
|
FTIRSpectrometerCore
基于设备私有网络应用层通信协议开发为傅里叶红外光谱产品服务的配套模块库 |
|
|
CSoft.Protocol.HJ212
HJ212 |
|
|
CSoft.Communication.Builder
通信库 Fluent Builder API - 简化通信口创建 |
|
|
CSoft.Communication.BLE
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 10.6.2 | 587 | 5/28/2026 | |
| 10.6.1 | 275 | 5/28/2026 | |
| 10.6.0 | 421 | 5/27/2026 | |
| 10.5.1 | 343 | 5/25/2026 | |
| 10.5.0 | 363 | 5/25/2026 | |
| 10.4.10 | 473 | 5/19/2026 | |
| 10.4.9 | 357 | 5/19/2026 | |
| 10.4.8 | 232 | 5/18/2026 | |
| 10.4.7 | 236 | 5/18/2026 | |
| 10.4.6 | 278 | 5/15/2026 | |
| 10.4.5 | 278 | 5/14/2026 | |
| 10.4.3 | 237 | 5/14/2026 | |
| 10.4.1 | 321 | 5/11/2026 | |
| 10.4.0 | 247 | 5/11/2026 | |
| 10.3.1 | 236 | 5/7/2026 | |
| 10.3.0 | 275 | 5/7/2026 | |
| 10.2.3 | 265 | 5/6/2026 | |
| 10.2.2 | 257 | 4/30/2026 | |
| 10.2.1 | 224 | 4/30/2026 | |
| 6.4.0 | 729 | 10/13/2022 |
通讯口使用类库