예제 #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());
        }
예제 #2
0
        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());
        }