public bool DownloadDocument(string Request, string postData, string DownloadFile, string ContentType = "Application/pdf") { try { bool _result = false; _http.DownloadFileContentType = ContentType; _http.DownloadDocument(Request, postData, DownloadFile); _result = File.Exists(DownloadFile); return(_result); } catch (Exception e) { throw e; } }