/// <summary>
        /// Gets the parameters.
        /// </summary>
        /// <param name="parameters">The parameters.</param>
        /// <returns></returns>
        /// 创建人:李允智
        /// 创建时间:2016/2/2
        /// 描述:获取参数
        private string GetParameters(LMSParam[] parameters)
        {
            StringBuilder values = new StringBuilder();

            foreach (LMSParam param in parameters)
            {
                if (string.IsNullOrEmpty(param.Value))
                    continue;
                if (values.ToString() == "")
                    values.Append(param.ToString());
                else
                    values.Append("&" + param.ToString());
            }

            return System.Web.HttpUtility.UrlDecode(values.ToString());
        }
        /// <summary>
        /// Gets the signature.
        /// </summary>
        /// <param name="parameters">The parameters.</param>
        /// <param name="secretKey">The secret key.</param>
        /// <returns></returns>
        /// 创建人:李允智
        /// 创建时间:2016/2/2
        /// 描述:根据参数和密码生成签名字符串
        private string GetSignature(LMSParam[] parameters, string secretKey)
        {
            StringBuilder values = new StringBuilder();

            foreach (LMSParam param in parameters)
            {
                if (param.Name.ToLower() == "sig")
                    continue;
                if (values.ToString() == "")
                    values.Append(param.ToString());
                else
                    values.Append("&" + param.ToString());
            }
            values.Append("&" + secretKey);

            return SHA1(System.Web.HttpUtility.UrlDecode(values.ToString()));
        }