private void btnGenerateConKey_Click(object sender, EventArgs e) { txtConKey.Text = Rando.RandomString(50); // 50 characters long }