/// <summary>
        /// INI读取 使用前先调用void Ini 赋值路径
        /// </summary>
        /// <param name="section">配置节</param>
        /// <param name="key">键名</param>
        /// <returns>返回读取值</returns>
        public string ReadValue(string section, string key)
        {
            // 每次从ini中读取多少字节

            StringBuilder temp = new StringBuilder(255);

            // section=配置节,key=键名,temp=上面,path=路径

            WinApiHepler.GetPrivateProfileString(section, key, "", temp, 255, InIsPath);

            return(temp.ToString());
        }
        /// <summary>
        /// INI读取预设值比较返回true false
        /// </summary>
        /// <param name="section">配置节</param>
        /// <param name="key">键名</param>
        /// <param name="comparedvalue">预设值</param>
        /// <returns>返回bool</returns>
        public bool ReadValue(string section, string key, string comparedvalue)
        {
            // 每次从ini中读取多少字节

            StringBuilder temp = new StringBuilder(255);

            // section=配置节,key=键名,temp=上面,path=路径

            WinApiHepler.GetPrivateProfileString(section, key, "", temp, 255, InIsPath);

            if (temp.ToString() != comparedvalue)
            {
                return(false);
            }
            return(true);
        }