Ejemplo n.º 1
0
        private async Task <string> LoginAsync()
        {
            var authenticationBusiness = new AuthenticationBusiness();

            string email = ConfigurationManager.AppSettings["email"];

            string password = ConfigurationManager.AppSettings["password"];

            var hash = await authenticationBusiness.LoginKucktrack(email, password, _httpClient);

            var appLog = new EventLog("Application");

            appLog.Source = "LumoTrack";
            appLog.WriteEntry("Response of kucktrack  :" + hash.Message);

            return(hash.Data.Hash);
        }