BitSharper.Wallet.AddKey C# (CSharp) Method

AddKey() public method

Adds the given ECKey to the wallet. There is currently no way to delete keys (that would result in coin loss).
public AddKey ( EcKey key ) : void
key EcKey
return void
        public void AddKey(EcKey key)
        {
            lock (this)
            {
                Debug.Assert(!Keychain.Contains(key));
                Keychain.Add(key);
            }
        }