Beispiel #1
0
        public int RequestSendChangePassWD(HsNetWork hsNet, string strUserID, string strOldPassWD, string strNewPassWD)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]       = "0x00000000";
            dic["CLIENTID"]    = strUserID;
            dic["OLDPASSWORD"] = strOldPassWD;
            dic["NEWPASSWORD"] = strNewPassWD;
            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestChangePW("CMD_STR_CHANGEPASSWORD", dic);

            return(hsNet.SendMessage(args));
        }