/// <summary>
        /// �޸��û�����
        /// </summary>
        /// <param name="strNewPass">������</param>
        /// <returns>-100 �û������������</returns>
        public string PassWordModify(string strNewPass)
        {
            //��ȡϵͳ������Ϣ
            SystemConfig config = SystemConfig.GetSettings();
            string strRequst = "";
            try
            {
                Encoding encode = System.Text.Encoding.GetEncoding("GB2312");
                string strTemp = "http://221.0.225.126:81/sendsms/modify?User="******"&Pass="******"&NewPass=" + HttpUtility.UrlEncode(strNewPass, encode);
                HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(strTemp);
                HttpWebResponse response = (HttpWebResponse)request.GetResponse();

                System.IO.StreamReader reader = new System.IO.StreamReader(response.GetResponseStream(), encode);
                strRequst = reader.ReadToEnd();
                reader.Close();
                response.Close();

                //д�������ļ�
                SystemConfig systemConfig = new SystemConfig();
                systemConfig.NoteConfig = config.NoteConfig;
                systemConfig.NoteConfig.Password = strNewPass;
                systemConfig.SaveSettings();
            }
            catch
            {
            }
            return strRequst;
        }
        /// <summary>
        /// ��ȡϵͳ������Ϣ
        /// </summary>
        /// <param name="relativePath">����·��</param>
        /// <returns></returns>
        public static SystemConfig GetSettings(string relativePath)
        {
            HttpContext context = HttpContext.Current;

            SystemConfig data = (SystemConfig)context.Cache["SystemConfig"];

            if (data == null)
            {
                XmlSerializer serializer = new XmlSerializer(typeof(SystemConfig));
                try
                {
                    string fileName = context.Server.MapPath(context.Request.ApplicationPath + "/" + relativePath + "/SystemConfig.xml");
                    FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.Read);
                    data = (SystemConfig)serializer.Deserialize(fs);
                    fs.Close();
                    context.Cache.Insert("SystemConfig", data, new CacheDependency(fileName));
                }
                catch (System.IO.FileNotFoundException)
                {

                    data = new SystemConfig();
                }
            }
            return data;
        }