Example #1
0
        private void BitChatNode_InvalidCertificateDetected(BitChatNode node, InvalidCertificateException e)
        {
            MessageBox.Show(e.Message + "\r\n\r\nClick OK to logout from this Bit Chat profile.", "Invalid Certificate Detected", MessageBoxButtons.OK, MessageBoxIcon.Error);

            this.Hide();
            this.DialogResult = DialogResult.Ignore;
            this.Close();
        }
Example #2
0
        private void InvalidCertificateEvent(BitChatService sender, InvalidCertificateException e)
        {
            MessageBox.Show(e.Message + "/r/n/r/nClick OK to logout from this Bit Chat profile.", "Invalid Certificate Detected", MessageBoxButtons.OK, MessageBoxIcon.Error);

            this.Hide();
            this.DialogResult = System.Windows.Forms.DialogResult.Ignore;
            this.Close();
        }
Example #3
0
        private void InvalidCertificateEvent(BitChatService sender, InvalidCertificateException e)
        {
            MessageBox.Show(e.Message, "Invalid Certificate Detected", MessageBoxButtons.OK, MessageBoxIcon.Error);

            notifyIcon1.Visible = false;
            this.Hide();
            this.DialogResult = System.Windows.Forms.DialogResult.Ignore;
            this.Close();
        }
        private void Client_InvalidCertificateDetected(BitChatClient client, InvalidCertificateException e)
        {
            MessageBox.Show(e.Message + "\r\n\r\nClick OK to logout from this Bit Chat profile.", "Invalid Certificate Detected", MessageBoxButtons.OK, MessageBoxIcon.Error);

            notifyIcon1.Visible = false;
            this.Hide();
            this.DialogResult = DialogResult.Ignore;
            this.Close();
        }
 private void chat_PeerHasRevokedCertificate(BitChat sender, InvalidCertificateException ex)
 {
     _chat.WriteInfoMessage(ex.Message);
 }
Example #6
0
 private void _network_VirtualPeerHasRevokedCertificate(BitChatNetwork sender, InvalidCertificateException ex)
 {
     if (PeerHasRevokedCertificate != null)
         RaiseEventPeerHasRevokedCertificate(ex);
 }
Example #7
0
 private void RaiseEventPeerHasRevokedCertificate(InvalidCertificateException ex)
 {
     _syncCxt.Post(PeerHasRevokedCertificateCallback, ex);
 }
Example #8
0
 private void _chat_PeerHasRevokedCertificate(BitChat sender, InvalidCertificateException ex)
 {
     AddMessage(new ChatMessageInfoItem(ex.Message));
 }
Example #9
0
        private void InvalidCertificateEvent(BitChatService sender, InvalidCertificateException e)
        {
            MessageBox.Show(e.Message, "Invalid Certificate Detected", MessageBoxButtons.OK, MessageBoxIcon.Error);

            this.Hide();
            this.DialogResult = System.Windows.Forms.DialogResult.Ignore;
            this.Close();
        }
Example #10
0
        private void InvalidCertificateEvent(BitChatService sender, InvalidCertificateException e)
        {
            MessageBox.Show(e.Message + "/r/n/r/nClick OK to logout from this Bit Chat profile.", "Invalid Certificate Detected", MessageBoxButtons.OK, MessageBoxIcon.Error);

            notifyIcon1.Visible = false;
            this.Hide();
            this.DialogResult = System.Windows.Forms.DialogResult.Ignore;
            this.Close();
        }
Example #11
0
 private void _network_VirtualPeerHasRevokedCertificate(BitChatNetwork sender, InvalidCertificateException ex)
 {
     if (PeerHasRevokedCertificate != null)
     {
         RaiseEventPeerHasRevokedCertificate(ex);
     }
 }
Example #12
0
 private void RaiseEventPeerHasRevokedCertificate(InvalidCertificateException ex)
 {
     _syncCxt.Post(PeerHasRevokedCertificateCallback, ex);
 }
 private void _chat_PeerHasRevokedCertificate(BitChat sender, InvalidCertificateException ex)
 {
     AddMessage(new ChatMessageInfoItem(ex.Message));
 }