コード例 #1
0
 private void validateReset(object sender, EventArgs e, string code)
 {
     if (ValidateField (code)) {
         RunOnUiThread (() => Toast.MakeText (c, Resource.String.verificationCodeSendingVerificationCode, ToastLength.Short).Show ());
         this.verifyCode = code;
         LOLConnectClient service = new LOLConnectClient (LOLConstants.DefaultHttpBinding, LOLConstants.LOLConnectEndpoint);
         service.UserValidateResetTokenCompleted += Service_UserValidateResetTokenCompleted;
         service.UserValidateResetTokenAsync (this.email,
                                             this.verifyCode,
                                             new Guid (AndroidData.ServiceAuthToken));
     }
 }