DoNetDrive.Core 2.3.0

Additional Details

UDP通讯时,由于目标主机的积极拒绝会导致socket被意外释放。

There is a newer version of this package available.
See the version list below for details.
dotnet add package DoNetDrive.Core --version 2.3.0
                    
NuGet\Install-Package DoNetDrive.Core -Version 2.3.0
                    
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="DoNetDrive.Core" Version="2.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DoNetDrive.Core" Version="2.3.0" />
                    
Directory.Packages.props
<PackageReference Include="DoNetDrive.Core" />
                    
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 DoNetDrive.Core --version 2.3.0
                    
#r "nuget: DoNetDrive.Core, 2.3.0"
                    
#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 DoNetDrive.Core@2.3.0
                    
#: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=DoNetDrive.Core&version=2.3.0
                    
Install as a Cake Addin
#tool nuget:?package=DoNetDrive.Core&version=2.3.0
                    
Install as a Cake Tool

ver 2.01.0

增加 async 和 await 的方式操作命令

ver 2.02.0

改进了上个版本使用async 和 await方式时,当连接建立成功,但是发送命令后没有响应,命令超时时,不能正确返回,导致await一直等待的bug

ver 2.03.0

  1. 删除了 SerialPort 减少了依赖库,如果要使用串口通讯,需要额外添加 DoNetDrive.Connector.SerialPort.dll ,并再分配器的连接器创建工厂中增加SerialPort

代码如下: VB.Net

Dim defFactory As DefaultConnectorFactory = TryCast(Allocator.ConnectorFactory, DefaultConnectorFactory)
defFactory.ConnectorFactoryDictionary.Add(ConnectorType.SerialPort, DoNetDrive.Connector.COM.SerialPortFactory.GetInstance())
  1. INConnectorDetail 类 增加了 ConnectingCallBlack 回调,再TCPClient 时,发起连接时会调用
  2. ConnectorAllocator 增加了ConnectorConnectingEvent 事件,再TCPClient 时,发起连接时会调用
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on DoNetDrive.Core:

Package Downloads
DoNetDrive.Protocol

用于运行设备命令的协议解析抽象层,定义了各种产品的协议格式及编解码器

DoNetDrive.Connector.SerialPort

用于完成 串口 的通讯实现,需要依赖 。DoNetDrive.Core

DoNetDrive.Connector.WindowsBLE

用于基于Win10 1809 以上版本SDK开发的用于蓝牙BLE通讯基础库

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.13.0 154 6/30/2025
2.12.0 349 12/20/2024
2.11.0 146 8/5/2024
2.10.0 607 8/29/2023
2.9.0 3,710 7/26/2022
2.8.0 479 7/21/2022
2.7.0 3,276 6/28/2022
2.5.0 2,091 4/3/2022
2.4.0 1,867 4/2/2022
2.3.0 881 3/9/2022 2.3.0 is deprecated because it has critical bugs.
2.2.0 632 3/2/2022 2.2.0 is deprecated because it has critical bugs.
2.1.0 1,424 1/10/2022 2.1.0 is deprecated because it has critical bugs.