Пример #1
0
        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}");
        }
Пример #2
0
 public void SaveValidation(SALLab11.ResultInfo result)
 {
     this.Fullname = result.Fullname;
     this.Status   = result.Status;
     this.Token    = result.Token;
 }