Class B2Config
Required configuration values to connect to a BackBlazeB2 bucket.
Reference: BackBlaze - Creating and Managing Application KeysInheritance
System.Object
B2Config
Implements
Namespace: Cloud_ShareSync.Core.Configuration.Types
Assembly: Cloud-ShareSync.Core.Configuration.dll
Syntax
public class B2Config : object, ICloudShareSyncConfig
Constructors
| Improve this Doc View SourceB2Config()
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 SourceApplicationKey
The value for the BackBlaze B2 api key.
Declaration
public string ApplicationKey { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ApplicationKeyId
The "keyID" associated with the BackBlaze B2 ApplicationKey.
Declaration
public string ApplicationKeyId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
BucketId
The id of the BackBlaze B2 storage "bucket".
Declaration
public string BucketId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
BucketName
The name of the BackBlaze B2 storage "bucket".
Declaration
public string BucketName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
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 |
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 SourceToString()
Returns the B2Config as a json string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |