private string EncryptSerial() { LCryp lc = new LCryp(); return lc.Encrypt(_key); }
private void WriteEmail() { RegistryKey check = Registry.LocalMachine.OpenSubKey("Software\\ManadgementApps"); if (check != null) { LCryp lc = new LCryp(); RegistryKey root = Registry.LocalMachine.CreateSubKey("Software\\ManadgementApps"); root.SetValue("MA",lc.Encrypt(mailTextBox.Text),RegistryValueKind.String); } }