Bitzsoft.Integrations.CloudDrive
1.0.0-alpha.8
This is a prerelease version of Bitzsoft.Integrations.CloudDrive.
dotnet add package Bitzsoft.Integrations.CloudDrive --version 1.0.0-alpha.8
NuGet\Install-Package Bitzsoft.Integrations.CloudDrive -Version 1.0.0-alpha.8
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="Bitzsoft.Integrations.CloudDrive" Version="1.0.0-alpha.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bitzsoft.Integrations.CloudDrive" Version="1.0.0-alpha.8" />
<PackageReference Include="Bitzsoft.Integrations.CloudDrive" />
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 Bitzsoft.Integrations.CloudDrive --version 1.0.0-alpha.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Bitzsoft.Integrations.CloudDrive, 1.0.0-alpha.8"
#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 Bitzsoft.Integrations.CloudDrive@1.0.0-alpha.8
#: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=Bitzsoft.Integrations.CloudDrive&version=1.0.0-alpha.8&prerelease
#tool nuget:?package=Bitzsoft.Integrations.CloudDrive&version=1.0.0-alpha.8&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Bitzsoft.Integrations.CloudDrive
企业网盘服务抽象层,统一接口定义与基础模型。
功能
- 统一的
ICloudDriveProvider接口,屏蔽各企业网盘供应商 API 差异 - 覆盖文件操作、文件夹管理、共享权限、版本管理、搜索等核心场景
- 不可变模型设计,所有属性使用
init访问器 - 与现有
FileStorage(对象存储)模块独立,按需组合使用
与 FileStorage 的区别
| 维度 | FileStorage(对象存储) | CloudDrive(企业网盘) |
|---|---|---|
| 存储模型 | Bucket + Key(扁平) | 文件夹树(层级) |
| 权限模型 | AccessKey + ACL | 用户/组/角色权限 |
| 协作能力 | 无 | 共享链接、在线编辑、版本对比 |
| 认证方式 | AccessKey/Secret | OAuth 2.0 / 企业账号 |
安装
dotnet add package Bitzsoft.Integrations.CloudDrive
<PackageReference Include="Bitzsoft.Integrations.CloudDrive" Version="*" />
核心接口
文件操作
| 方法 | 说明 |
|---|---|
UploadAsync |
上传文件 |
DownloadAsync |
下载文件 |
DeleteFileAsync |
删除文件 |
MoveFileAsync |
移动文件 |
CopyFileAsync |
复制文件 |
GetFileInfoAsync |
获取文件信息 |
文件夹操作
| 方法 | 说明 |
|---|---|
ListFilesAsync |
列出文件夹内容 |
CreateFolderAsync |
创建文件夹 |
DeleteFolderAsync |
删除文件夹 |
搜索
| 方法 | 说明 |
|---|---|
SearchAsync |
搜索文件(支持关键词/类型/扩展名筛选) |
共享与权限
| 方法 | 说明 |
|---|---|
CreateShareLinkAsync |
创建共享链接 |
DeleteShareLinkAsync |
删除共享链接 |
GetPermissionsAsync |
获取权限列表 |
SetPermissionAsync |
设置权限 |
DeletePermissionAsync |
删除权限 |
版本管理
| 方法 | 说明 |
|---|---|
ListVersionsAsync |
获取版本列表 |
DownloadVersionAsync |
下载指定版本 |
RestoreVersionAsync |
恢复到指定版本 |
依赖
Bitzsoft.Integrations.Compatibility,基础工具库
相关包
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. 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 is compatible. 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 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Bitzsoft.Integrations.Compatibility (>= 1.0.0-alpha.8)
-
net5.0
- Bitzsoft.Integrations.Compatibility (>= 1.0.0-alpha.8)
-
net8.0
- Bitzsoft.Integrations.Compatibility (>= 1.0.0-alpha.8)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Bitzsoft.Integrations.CloudDrive:
| Package | Downloads |
|---|---|
|
Bitzsoft.Integrations.CloudDrive.Baidu
百度企业网盘服务实现 |
|
|
Bitzsoft.Integrations.CloudDrive.Aliyun
阿里云网盘与相册服务实现 |
|
|
Bitzsoft.Integrations.CloudDrive.Microsoft365
Microsoft 365 企业网盘服务实现 |
|
|
Bitzsoft.Integrations.CloudDrive.Nutstore
坚果云企业网盘服务实现 |
|
|
Bitzsoft.Integrations.CloudDrive.Gokuai
够快云库企业网盘服务实现 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-alpha.8 | 58 | 7/1/2026 |
| 1.0.0-alpha.7 | 84 | 6/16/2026 |
| 1.0.0-alpha.6 | 83 | 6/16/2026 |
| 1.0.0-alpha.5 | 89 | 6/14/2026 |
| 1.0.0-alpha.4 | 51 | 7/1/2026 |
| 1.0.0-alpha.3 | 79 | 6/7/2026 |