Exemplo n.º 1
0
        public async Task <String> NewLogin(String login, String pass)
        {
            try
            {
                if (WebRequestHelper.CheckNet() == false)
                {
                    return(null);
                }

                WriteConsole.WriteInLine("Logando ", 1, 1);

                this.login = login;
                this.pass  = pass;

                if ((IdAccess = await LoginAsync("http://gspn6.samsungcsportal.com/")) != null)
                {
                    return(IdAccess);
                }

                return(null);
            }
            catch
            {
                throw;
            }
        }