C# Класс Ipfs.Api.IpfsClient

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddAsync ( Stream stream ) : Task

Add a Stream to interplanetary file system.

AddDirectoryAsync ( string path, bool recursive = true ) : Task

Add a directory and its files to the interplanetary file system.

AddFileAsync ( string path ) : Task

Add a file to the interplanetary file system.

AddTextAsync ( string text ) : Task

Add some text to the interplanetary file system.

Id ( string peer = null ) : Task

Information about an IPFS node.

Version ( ) : Task

Get the version of the API server.

Описание методов

AddAsync() публичный Метод

Add a Stream to interplanetary file system.
public AddAsync ( Stream stream ) : Task
stream Stream
Результат Task

AddDirectoryAsync() публичный Метод

Add a directory and its files to the interplanetary file system.
public AddDirectoryAsync ( string path, bool recursive = true ) : Task
path string
recursive bool
Результат Task

AddFileAsync() публичный Метод

Add a file to the interplanetary file system.
public AddFileAsync ( string path ) : Task
path string
Результат Task

AddTextAsync() публичный Метод

Add some text to the interplanetary file system.
public AddTextAsync ( string text ) : Task
text string
Результат Task

Id() публичный Метод

Information about an IPFS node.
public Id ( string peer = null ) : Task
peer string /// The id of the peer IPFS node. If not specified (e.g. null), then the local /// peer node is used. ///
Результат Task

Version() публичный Метод

Get the version of the API server.
public Version ( ) : Task
Результат Task