コード例 #1
0
        public static DTO_ACCOUNT Login(string email, string password)
        {
            string      passwordHashed = CreateHash(password, Constants.PASSWORD_HASH_SALT);
            DTO_ACCOUNT account        = duplexServiceClient.ClientLogin(email, passwordHashed);

            if (account == null)
            {
                return(null);
            }
            else
            {
                account.players = duplexServiceClient.ClientGetPlayers(account.EMAIL);
                return(account);
            }
        }