SendAsync() 개인적인 메소드

private SendAsync ( Bitmessage bitmessage ) : void
bitmessage Bitmessage
리턴 void
예제 #1
0
        public PrivateKey GeneratePrivateKey(string label = null, bool eighteenByteRipe = false, bool send = false, bool save = true)
        {
            var privateKey = new PrivateKey(label, eighteenByteRipe);
            if (save) privateKey.SaveAsync(DB).Wait();
            if (send) privateKey.SendAsync(this);

            lock (_lock4privateKeysCache)
                _privateKeysCache = null;

            return privateKey;
        }