public async System.Threading.Tasks.Task <string> Validate() { SALLab11.ServiceClient client = new SALLab11.ServiceClient(); string myD = Android.Provider.Settings.Secure.GetString( ContentResolver, Android.Provider.Settings.Secure.AndroidId); Result = await client.ValidateAsync( Email, Password, myD); return($"{Result.Status}\n{Result.Fullname}\n{Result.Token}"); }
public void SaveValidation(SALLab11.ResultInfo result) { this.Fullname = result.Fullname; this.Status = result.Status; this.Token = result.Token; }