Пример #1
0
        public static string Download(string fileName, string token)
        {
            string strResponse = string.Empty;

            try
            {
                strResponse = F8YLSubmit.BuildGetRequestForFile(null, "download?file=dHBsLXVzZXItaW1wb3J0Lnhscw%3D%3D");
            }
            catch (Exception ex)
            {
                AppLog.Instance.Write("Download", AppLog.LogMessageType.Error, ex);
            }
            return(strResponse);
        }
Пример #2
0
        /// <summary>
        /// 54.文件下载(静态)
        /// </summary>
        /// <param name="fileName">文件名</param>
        /// <param name="token">token</param>
        /// <returns></returns>
        public string Download(string fileName, string token)
        {
            string strResponse = string.Empty;

            try
            {
                strResponse = F8YLSubmit.BuildGetRequestForFile(null, "download?file=dHBsLXVzZXItaW1wb3J0Lnhscw%3D%3D");
                return(strResponse);
            }
            catch
            {
                throw;
            }
        }