Exemplo n.º 1
0
 private void ActivatePoloniexKey()
 {
     if (textBoxPoloniexKey.Text != "******" && textBoxPoloniexKey.Text != "Empty")
     {
         selSettings.poloniexkey    = AppCrypt.EncryptData(textBoxPoloniexKey.Text);
         selSettings.poloniexsecret = AppCrypt.EncryptData(textBoxPoloniexSecret.Text);
     }
 }
Exemplo n.º 2
0
 private void ActivateYobitKey()
 {
     if (textBoxYobitKey.Text != "******" && textBoxYobitKey.Text != "Empty")
     {
         selSettings.yobitkey    = AppCrypt.EncryptData(textBoxYobitKey.Text);
         selSettings.yobitsecret = AppCrypt.EncryptData(textBoxYobitSecret.Text);
     }
     selSettings.yobitdisabled = checkBoxYobitDisabled.Checked;
 }
Exemplo n.º 3
0
 private void ActivateBittrexKey()
 {
     if (textBoxBittrexKey.Text != "******" && textBoxBittrexKey.Text != "Empty")
     {
         selSettings.bittrexkey    = AppCrypt.EncryptData(textBoxBittrexKey.Text);
         selSettings.bittrexsecret = AppCrypt.EncryptData(textBoxBittrexSecret.Text);
     }
     selSettings.bittrexdisabled = checkBoxBittrexDisabled.Checked;
 }