private async void AuthenticateService() { AuthenticateService service = new AuthenticateService(); var result = await service.AutenticateAsync(txtEmail.Text, txtPassword.Text); if (result.Status == Status.Success) { var MicrosoftEvidence = new LabItem { Email = txtEmail.Text, DeviceId = Android.Provider.Settings.Secure.GetString( ContentResolver, Android.Provider.Settings.Secure.AndroidId), Lab = "Hack@Home" }; MicrosoftServiceClient mService = new MicrosoftServiceClient(); var intent = new Intent(this, typeof(EvidenceActivity)); intent.PutExtra("Token", result.Token); intent.PutExtra("Name", result.FullName); StartActivity(intent); await mService.SendEvidence(MicrosoftEvidence); } else { Android.App.AlertDialog.Builder builder = new AlertDialog.Builder(this); AlertDialog Alert = builder.Create(); Alert.SetTitle("Resultado de la verificación"); Alert.SetIcon(Resource.Drawable.Icon); Alert.SetMessage($"{result.Status}\n{result.FullName}\n{result.Token}"); Alert.SetButton("Ok", (s, ev) => { }); Alert.Show(); } }