Drive.Plugin.Abi
2.1.2
dotnet add package Drive.Plugin.Abi --version 2.1.2
NuGet\Install-Package Drive.Plugin.Abi -Version 2.1.2
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="Drive.Plugin.Abi" Version="2.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Drive.Plugin.Abi" Version="2.1.2" />
<PackageReference Include="Drive.Plugin.Abi" />
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 Drive.Plugin.Abi --version 2.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Drive.Plugin.Abi, 2.1.2"
#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 Drive.Plugin.Abi@2.1.2
#: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=Drive.Plugin.Abi&version=2.1.2
#tool nuget:?package=Drive.Plugin.Abi&version=2.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Drive.Plugin.Abi
Drive 插件平台的公共协议定义包,供 Drive.Plugin.SDK、客户端与独立运行器共享。
包含内容
PluginPermission:宿主 API 权限。PluginCapabilities、PluginKind:插件能力与类别。HostOperation、DriveEventId:宿主操作和事件编号。PluginError、AbiVersions:错误码、协议版本及消息限制。- 为历史兼容保留的原生 ABI 结构;当前托管插件通过独立 Runner 与宿主通信,不使用这些结构加载 NativeAOT 插件 DLL。
使用方式
目标框架为 .NET 11,包版本为 2.1.2。普通插件只需安装 Drive.Plugin.SDK;带 Avalonia 界面的插件可以安装 Drive.Plugin.Avalonia,本包会作为传递依赖自动还原。
需要直接使用协议定义时:
dotnet add package Drive.Plugin.Abi --version 2.1.2
此包不包含运行器、图形界面或宿主 API 实现,需要配套的 Drive 客户端/Runner。开发时请保持平台各包的版本匹配。包内包含 DLL 和中文 XML 文档。
许可证
本包采用 MIT 许可证,完整文本随包附带于 LICENSE.txt。
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net11.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Drive.Plugin.Abi:
| Package | Downloads |
|---|---|
|
Drive.Plugin.SDK
Drive 网盘客户端的托管插件 SDK:提供文件、传输、账户、菜单、存储、日志及 29 个宿主事件,通过独立运行器与 NativeAOT 主程序通信。 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.1.2 | 96 | 9/18/2026 |