Skip to content

I try the sample code, but error, System.Exception:“The IPFS_PASS environement variable is missing.” #166

@billqu01

Description

@billqu01

My code:
private async void GetData()
{
var ipfs = new IpfsEngine();

        const string filename = "QmS4ustL54uo8FzR9455qaxZwuMiUhyvMcX9Ba8nUH4uVv/about";
        string text = await ipfs.FileSystem.ReadAllTextAsync(filename);
    }

when run at var ipfs = new IpfsEngine();
the error throw,
System.Exception:“The IPFS_PASS environement variable is missing.”

How should I do?
Thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions