示例#1
0
        public static void GetServerInfo()
        {
            MD5Cls md5Cls   = new MD5Cls();
            string fileName = "ipConfig.xml";

            if (!System.IO.File.Exists(fileName))
            {
                return;
            }
            else
            {
                xmlDoc xmldoc = new xmlDoc();
                if (xmldoc.LoadXmlFile(fileName))
                {
                    ServerIP = xmldoc.readByNodeName("ServerIP");
                    User_ID  = xmldoc.readByNodeName("User_ID");
                    User_Pwd = md5Cls.MD5Decrypt(xmldoc.readByNodeName("User_Pwd"), xmldoc.readByNodeName("Key"));
                    //md5Cls.MD5Decrypt(xmldoc.readByNodeName("User_Pwd"), xmldoc.readByNodeName("Key"))
                }
            }
        }