DeQmaTech.BackBlazeSDK 1.8.4

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

// Install DeQmaTech.BackBlazeSDK as a Cake Tool
#tool nuget:?package=DeQmaTech.BackBlazeSDK&version=1.8.4

Features

  • Assemblies for .NET 4.5.2 and .NET Standard 2.0 and .NET Core 2.1
  • Just one external reference (Newtonsoft.Json)
  • Easy installation using NuGet
  • Upload/Download tracking support
  • Proxy Support
  • Upload/Download cancellation support
  • Support Upload/Download pause/resume

List of functions:

  • ListBuckets
  • List
  • Upload
  • FileMetadata
  • DeleteBucket
  • CreateBucket
  • CopyFile
  • DeleteFile
  • UpdateBucket
  • PublicBucket_DownloadFile
  • PublicBucket_DownloadFileAsStream
  • PrivateBucket_DownloadFile
  • PrivateBucket_DownloadFileAsStream
  • PublicBucket_GetDirectUrl

Code simple:

Dim tkn = Await BackBlazeSDK.Authentication.GetToken_24Hrs("key_id", "app_id")
Dim cLENT As BackBlazeSDK.IClient = New BackBlazeSDK.BClient(tkn.apiUrl, tkn.authorizationToken, New BackBlazeSDK.ConnectionSettings With {.CloseConnection = True, .TimeOut = TimeSpan.FromMinutes(80), .Proxy = New BackBlazeSDK.ProxyConfig With {.SetProxy = True, .ProxyIP = "127.0.0.1", .ProxyPort = 80, .ProxyUsername = "user", .ProxyPassword = "123456"}})

Await cLENT.ListBuckets(tkn.accountId)
Await cLENT.List("bucket_id")
Await cLENT.CopyFile("file_id", "bucket_id", "mypic.jpg")
Await cLENT.CreateBucket(tkn.accountId, "bucket_name", BackBlazeSDK.Utilitiez.BucketTypesEnum.allPublic)
Await cLENT.DeleteBucket(tkn.accountId, "bucket_id")
Await cLENT.DeleteFile("file_id", "mypic.jpg")
Await cLENT.FileMetadata("file_id")
Await cLENT.UpdateBucket(tkn.accountId, "bucket_id", BackBlazeSDK.Utilitiez.BucketTypesEnum.allPrivate)
Dim CancelToken As New Threading.CancellationTokenSource()
Dim _ReportCls As New Progress(Of BackBlazeSDK.ReportStatus)(Sub(r) Console.WriteLine($"{r.BytesTransferred}/{r.TotalBytes}" + r.ProgressPercentage + If(r.TextStatus, "Downloading...")))
Await cLENT.PrivateBucket_DownloadFile("file_id", "C:\Down", "mypic.jpg", _ReportCls, CancelToken.Token)
Await cLENT.Upload("C:\Down\mypic.jpg", BackBlazeSDK.Utilitiez.UploadTypes.FilePath, "bucket_id", "mypic.jpg", BackBlazeSDK.Utilitiez.SHA1FileHash(IO.File.ReadAllBytes("C:\Down\mypic.jpg")), _ReportCls, CancelToken.Token)
cLENT.PublicBucket_GetDirectUrl(tkn.downloadApiUrl, "My_Bucket", "mypic.jpg")
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.0 was computed.  netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net452 is compatible.  net46 was computed.  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

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.8.4 547 3/26/2020
1.8.3 529 1/22/2020
1.8.1 489 10/11/2019
1.7.0 472 10/9/2019
1.6.0 468 10/6/2019
1.5.0 516 9/21/2019
1.0.5 483 9/17/2019
1.0.4 494 9/10/2019
1.0.0 496 9/1/2019