Exemplo n.º 1
0
        private void OpenKeyPairButton_Click(object sender, EventArgs e)
        {
            if (openFileDialog1.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                LicenseAdmin admin = new LicenseAdmin();
                string       pk    = admin.LoadKeyPairs(openFileDialog1.FileName);

                this.privateKey = pk;
            }
        }
Exemplo n.º 2
0
        private void CreateKeyPairButton_Click(object sender, EventArgs e)
        {
            LicenseAdmin admin = new LicenseAdmin();

            admin.CreateKeyPairs(testFolder + @"\test");
        }