Example #1
0
 private void label4_Click(object sender, EventArgs e)
 {
     if (openFileDialog1.ShowDialog() == DialogResult.OK)
     {
         string key = System.IO.File.ReadAllText(openFileDialog1.FileName);
         License     = new LicenseLib(key);
         label4.Text = "private key:" + key;
     }
 }
Example #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     License     = new LicenseLib();
     label4.Text = "private key:" + License.secretKey;
 }