private void btnGetPublicKey_Click(object sender, EventArgs e)
        {
            List <string> publicKeys = certificateRowCollection.GetAllCertificatesPublicKeyValues();

            string filename = Utilities.EnsureFilenameNotExists(Utilities.PublicKeysStoreOutputFilename);

            File.WriteAllLines(filename, publicKeys);
        }
        private void btnSearchFolder_Click(object sender, EventArgs e)
        {
            string selectedPath = DialogHelper.BrowseForFolderDialog();

            if (!string.IsNullOrEmpty(selectedPath))
            {
                List <X509Certificate2>  certs             = Utilities.SearchForCertsInFolder(selectedPath);
                CertificateRowCollection certRowCollection = CertificateRowCollection.FromList(certs);
                List <string>            publicKeys        = certRowCollection.GetAllCertificatesPublicKeyValues();

                string filename = Utilities.EnsureFilenameNotExists(Utilities.PublicKeysFolderOutputFilename);
                File.WriteAllLines(filename, publicKeys);
            }
        }