net-ipfs-engine icon indicating copy to clipboard operation
net-ipfs-engine copied to clipboard

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

Open hsafarigithub opened this issue 3 years ago • 0 comments

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); }

hsafarigithub avatar Oct 12 '20 10:10 hsafarigithub