Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.NotImplementedException: 'The method or operation is not implemented.' on ipfs.Name.PublishAsync #159

Open
hsafarigithub opened this issue Oct 12, 2020 · 0 comments

Comments

@hsafarigithub
Copy link

hi
How to fix the following code problem:

private async void Button1_Click(object sender, EventArgs e)
{
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;
string passphrase = "this is not a secure pass phrase";
var ipfs = new IpfsEngine(passphrase.ToCharArray());//"https://ipfs.infura.io:5001"
var fsn = await ipfs.FileSystem.AddTextAsync("salam hossein");
var sns = await ipfs.Name.PublishAsync((string)fsn.Id, false);
MessageBox.Show((string)sns.NamePath);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant