예제 #1
0
        internal static GetChallengeReply GetChallenge()
        {
            ILJGetChallenge   getChallengeProxy = CreateProxy <ILJGetChallenge>();
            GetChallengeReply reply             = getChallengeProxy.GetChallenge();

            return(reply);
        }
예제 #2
0
        public static void PopulateWithLoginInfo(this CallLoginInfo call)
        {
            call.username    = UserName;
            call.auth_method = "challenge";
            GetChallengeReply reply = MakeCall.GetChallenge();

            call.auth_challenge = reply.challenge;
            call.auth_response  = MD5.Hash(reply.challenge + PasswordHash);
            call.clientversion  = ClientVersion;
        }