Show / Hide Table of Contents

Class B2Config

Required configuration values to connect to a BackBlazeB2 bucket.

Reference: BackBlaze - Creating and Managing Application Keys
Inheritance
System.Object
B2Config
Implements
ICloudShareSyncConfig
Namespace: Cloud_ShareSync.Core.Configuration.Types
Assembly: Cloud-ShareSync.Core.Configuration.dll
Syntax
public class B2Config : object, ICloudShareSyncConfig

Constructors

| Improve this Doc View Source

B2Config()

Public Parameterless Constructor - Requires manual assignment of all non-default values.
Used in the IConfiguration import process.

Declaration
public B2Config()

Properties

| Improve this Doc View Source

ApplicationKey

The value for the BackBlaze B2 api key.

Declaration
public string ApplicationKey { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ApplicationKeyId

The "keyID" associated with the BackBlaze B2 ApplicationKey.

Declaration
public string ApplicationKeyId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

BucketId

The id of the BackBlaze B2 storage "bucket".

Declaration
public string BucketId { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

BucketName

The name of the BackBlaze B2 storage "bucket".

Declaration
public string BucketName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

MaxConsecutiveErrors

The number of consecutive errors to receive before aborting an upload/download.

Declaration
public int MaxConsecutiveErrors { get; set; }
Property Value
Type Description
System.Int32

10

| Improve this Doc View Source

ProcessThreads

The number of concurrent connections to open for large file uploads or downloads.

Declaration
public int ProcessThreads { get; set; }
Property Value
Type Description
System.Int32

50

Methods

| Improve this Doc View Source

ToString()

Returns the B2Config as a json string.

Declaration
public override string ToString()
Returns
Type Description
System.String

Implements

ICloudShareSyncConfig
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
About Me | Open Source Acknowledgements | Security
☀
☾