pCloud 1.0.1

Requires NuGet 3.4.4 or higher.

dotnet add package pCloud --version 1.0.1                
NuGet\Install-Package pCloud -Version 1.0.1                
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="pCloud" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add pCloud --version 1.0.1                
#r "nuget: pCloud, 1.0.1"                
#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.
// Install pCloud as a Cake Addin
#addin nuget:?package=pCloud&version=1.0.1

// Install pCloud as a Cake Tool
#tool nuget:?package=pCloud&version=1.0.1                

A straightforward implementation of the API documented at https://docs.pcloud.com/ The library consumes binary protocol, because I don’t like neither JSON nor HTTP too much. SSL traffic encryption is supported.
I’ve only tested with free accounts.
The APIs uses async-await a lot. You can send multiple requests over the same connection, they will be pipelined i.e. the client will send several requests, then start waiting for their responses. The maximum in-flight requests count is limited to 8. The public API is thread safe.
You may want to change Authentication.deviceInfoString public field to the name of your app. The default value is derived from [AssemblyProduct] and version attributes of your application.
The library doesn’t support 100% of the API, only a subset of it: login/logout, directory operations like create/rename/move/list, file operations like create/read/write/delete, upload links, and a few more requests. Feel free to fork and implement whatever extra you need.

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. 
.NET Core netcoreapp2.2 is compatible.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Framework net47 is compatible.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 2.2

    • No dependencies.
  • .NETFramework 4.7

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 3,434 10/7/2019
1.0.0 524 9/30/2019

Slightly improved memory management.