A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://richardschneider.github.io/net-ipfs-core/api/Ipfs.CoreApi.AddFileOptions.html below:

Class AddFileOptions

The options when adding data to the IPFS file system.

Inheritance

AddFileOptions

Namespace: Ipfs.CoreApi Assembly: Ipfs.Core.dll Syntax
public class AddFileOptions
Properties | Improve this Doc View Source ChunkSize

The maximum number of data bytes in a block.

Declaration
public int ChunkSize { get; set; }
Property Value Type Description Int32

The default is 256 * 1024 (‭262,144) bytes.‬

| Improve this Doc View Source Encoding

The encoding algorithm name to use.

Declaration
public string Encoding { get; set; }
Property Value See Also | Improve this Doc View Source Hash

The hashing algorithm name to use.

Declaration
public string Hash { get; set; }
Property Value See Also | Improve this Doc View Source OnlyHash

Determines if only file information is produced.

Declaration
public bool OnlyHash { get; set; }
Property Value Type Description Boolean

If true no data is added to IPFS. The default is false.

| Improve this Doc View Source Pin

Determines if the data is pinned to local storage.

Declaration
public bool Pin { get; set; }
Property Value Type Description Boolean

If true the data is pinned to local storage and will not be garbage collected. The default is true.

| Improve this Doc View Source Progress

Used to report the progress of a file transfer.

Declaration
public IProgress<TransferProgress> Progress { get; set; }
Property Value | Improve this Doc View Source ProtectionKey

The key name used to protect (encrypt) the file contents.

Declaration
public string ProtectionKey { get; set; }
Property Value Type Description String

The name of an existing key.

See Also | Improve this Doc View Source RawLeaves

Determines if raw blocks are used for leaf data blocks.

Declaration
public bool RawLeaves { get; set; }
Property Value Type Description Boolean

The default is false.

| Improve this Doc View Source Trickle

Determines if the trickle-dag format is used for dag generation.

Declaration
public bool Trickle { get; set; }
Property Value Type Description Boolean

The default is false.

| Improve this Doc View Source Wrap

Determines if added file(s) are wrapped in a directory object.

Declaration
public bool Wrap { get; set; }
Property Value Type Description Boolean

The default is false.

See Also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4