Redeem Token

Redeeming a token will add to the users existing time. Tokens can only be redeemed once.

C# WINFORMS
/* C# WINFORMS */

private void Button1_Click() { // Redeem token button event handler

  // The register arguments goes in the order: username, password, token
   bool response = Api.RedeemToken(textBox1.Text, textBox2.Text, textBox3.Text);
   if (response){
   // Redeem token was successful
   }
   else {
   // Redeem Token wasn't a success
   }


}

Last updated