You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This occurs when you instantiate the IPFS engine without any arguments. It would expect to read the pass phrase from the system environment in Advanced System Settings > Advanced > Environment Variables > System Variables (on Windows). You can add a pass phrase with a variable name "IPFS_PASS" or use the constructor supporting a SecureString() as shown below.
_engine = new IpfsEngine(new SecureString())
{
Options = options
};
My code:
private async void GetData()
{
var ipfs = new IpfsEngine();
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.
The text was updated successfully, but these errors were encountered: