コード例 #1
0
        private void InvokeEncryptionProtocolNegotiated(SslProtocols protocol, int strength)
        {
            var handler = EncryptionProtocolNegotiated;

            if (handler != null)
            {
                var e = new EncryptionProtocolNegotiatedEventArgs(protocol, strength);
                handler(this, e);
            }
        }
コード例 #2
0
ファイル: SecureClient.cs プロジェクト: pravse/CommSample
 private void InvokeEncryptionProtocolNegotiated(SslProtocols protocol, int strength)
 {
     var handler = EncryptionProtocolNegotiated;
     if (handler != null) {
         var e = new EncryptionProtocolNegotiatedEventArgs(protocol, strength);
         handler(this, e);
     }
 }