C# Класс Ipfs.Commands.IpfsName

Наследование: Ipfs.Json.IpfsCommand
Показать файл Открыть проект

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

Метод Описание
Publish ( string name, string ipfsPath ) : Task

Publish an object to IPNS IPNS is a PKI namespace, where names are the hashes of public keys, and the private key enables publishing new (signed) values.In publish, the default value of is your own identity public key.

Resolve ( string name ) : Task

Gets the value currently published at an IPNS name IPNS is a PKI namespace, where names are the hashes of public keys, and the private key enables publishing new (signed) values.In resolve, the default value of is your own identity public key.

Приватные методы

Метод Описание
IpfsName ( Uri commandUri, HttpClient httpClient, IJsonSerializer jsonSerializer ) : Ipfs.Json

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

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

Publish an object to IPNS IPNS is a PKI namespace, where names are the hashes of public keys, and the private key enables publishing new (signed) values.In publish, the default value of is your own identity public key.
public Publish ( string name, string ipfsPath ) : Task
name string The IPNS name to publish to. Defaults to your node's peerID
ipfsPath string IPFS path of the obejct to be published at
Результат Task

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

Gets the value currently published at an IPNS name IPNS is a PKI namespace, where names are the hashes of public keys, and the private key enables publishing new (signed) values.In resolve, the default value of is your own identity public key.
public Resolve ( string name ) : Task
name string The IPNS name to resolve. Defaults to your node's peerID.
Результат Task