Exemplo n.º 1
0
        public void OnEncryptionProtocolNegotiated(EncryptionProtocolNegotiatedEventArgs e)
        {
            var handler = EncryptionProtocolNegotiated;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemplo n.º 2
0
        private void OnEncryptionProtocolNegotiated(SslProtocols protocol, int strength)
        {
            var handler = EncryptionProtocolNegotiated;

            if (handler == null)
            {
                return;
            }

            var e = new EncryptionProtocolNegotiatedEventArgs(protocol, strength);

            handler(this, e);
        }