Beispiel #1
0
        internal void ShowInfo(GXx509Certificate cert)
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("Public key info:");
            sb.AppendLine(cert.ToString());
            MessageBox.Show(Parent, sb.ToString());
        }
        internal void ShowInfo(GXx509Certificate cert)
        {
            StringBuilder sb = new StringBuilder();

            if (!string.IsNullOrEmpty(cert.Description))
            {
                sb.AppendLine("Description:");
                sb.AppendLine(cert.Description);
                sb.AppendLine("");
            }
            sb.AppendLine("Public key info:");
            sb.AppendLine(cert.ToString());
            MessageBox.Show(Parent, sb.ToString());
        }