VOOZH about

URL: https://www.nuget.org/packages/TouchSocket.SerialPorts/

⇱ NuGet Gallery | TouchSocket.SerialPorts 4.2.14




👁 Image
TouchSocket.SerialPorts 4.2.14

Prefix Reserved
dotnet add package TouchSocket.SerialPorts --version 4.2.14
 
 
NuGet\Install-Package TouchSocket.SerialPorts -Version 4.2.14
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TouchSocket.SerialPorts" Version="4.2.14" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TouchSocket.SerialPorts" Version="4.2.14" />
 
Directory.Packages.props
<PackageReference Include="TouchSocket.SerialPorts" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TouchSocket.SerialPorts --version 4.2.14
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TouchSocket.SerialPorts, 4.2.14"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TouchSocket.SerialPorts@4.2.14
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TouchSocket.SerialPorts&version=4.2.14
 
Install as a Cake Addin
#tool nuget:?package=TouchSocket.SerialPorts&version=4.2.14
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

TouchSocket.SerialPorts

项目概述

TouchSocket.SerialPorts 是一个适用于 .Net(涵盖 C#、VB.Net、F#)的整合性串口通信框架。它提供了丰富的串口通信功能,包括串口连接、断开等一系列通信事务处理,同时能一键式解决数据黏分包问题。借助协议模板,可快速实现「固定包头」「固定长度」「区间字符」等多种数据报文解析。

功能特性

  • 全面的串口通信支持:支持串口的连接、断开等基本操作,满足常见的串口通信需求。
  • 数据黏分包处理:能够自动处理数据黏分包问题,确保数据的准确传输。
  • 灵活的报文解析:通过协议模板,可快速实现多种数据报文解析方式。

文档说明

详细的说明文档请访问:https://touchsocket.net/

支持的目标框架

  • net481
  • net462
  • net472
  • netstandard2.0
  • netstandard2.1
  • net6.0
  • net10.0
  • net8.0

贡献与反馈

如果你在使用过程中遇到问题或有任何建议,欢迎提交 issue 或参与项目贡献。

Product Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 is compatible.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp2.0 netcoreapp2.0 was computed.  netcoreapp2.1 netcoreapp2.1 was computed.  netcoreapp2.2 netcoreapp2.2 was computed.  netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 netstandard2.0 is compatible.  netstandard2.1 netstandard2.1 is compatible. 
.NET Framework net461 net461 was computed.  net462 net462 is compatible.  net463 net463 was computed.  net47 net47 was computed.  net471 net471 was computed.  net472 net472 was computed.  net48 net48 was computed.  net481 net481 was computed. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen40 tizen40 was computed.  tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on TouchSocket.SerialPorts:

Package Downloads
ThingsGateway.Foundation

Package Description

TouchSocket.Modbus

这是一个Modbus功能库,目前包括ModbusTcpMaster、ModbusUdpMaster、ModbusRtuMaster、ModbusRtuOverTcpMaster、ModbusRtuOverUdpMaster。 说明文档:https://touchsocket.net/

Rays.Commlink

仅组织内部使用。提供串口通信、网络通信支持功能的核心库。

ThingsGatewayRuntime.Foundation

Package Description

Mortal.Mis.Core

WPF框架核心类库

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.2.14 234 6/14/2026
4.2.13 845 6/7/2026
4.2.12 3,078 5/30/2026
4.2.11 1,096 5/23/2026
4.2.10 375 5/15/2026
4.2.9 2,024 5/10/2026
4.2.8 3,907 5/4/2026
4.2.7 2,256 4/26/2026
4.2.6 193 4/25/2026
4.2.4 2,351 4/19/2026
4.2.3 236 4/12/2026
4.2.2 2,597 4/11/2026
4.2.1 356 4/4/2026
4.2.0 4,498 3/29/2026
4.2.0-beta.26 68 3/29/2026
4.2.0-beta.23 65 3/26/2026
4.2.0-beta.22 80 3/25/2026
4.2.0-beta.18 65 3/24/2026
4.2.0-beta.16 69 3/24/2026
4.2.0-beta.15 71 3/23/2026
Loading failed