private void button1_Click(object sender, EventArgs e) { if (string.IsNullOrWhiteSpace(textBox1.Text)) { textBox1.Text = new HardwareInfo().GetUniqueCode(); } label1.Text = RSAHelper.EncryptString(textBox1.Text, privatKey); Clipboard.SetDataObject(label1.Text); }