using System;
using NBitcoin;
namespace RSA
{
public class RSA
{
public static Wallet KeyGenerate()
{
Key privateKey = new Key();
var v = privateKey.GetBitcoinSecret(Network.Main).GetAddress();
var address = BitcoinAddress.Create(v.ToString(), Network.Main);
return new Wallet { PublicKey = v.ToString(), PrivateKey = privateKey.GetBitcoinSecret(Network.Main).ToString() };
}
}
}
I got this kind of warning, anyone please help how to fix it?