Example #1
0
        public string AttachmentDownload2File(AttachmentDownloadData data, string downloadFilePath)
        {
            byte[] bytes           = AttachmentDownload(data);
            string pathAndFileName = downloadFilePath + data.SystemFileName;

            File.WriteAllBytes(pathAndFileName, bytes);

            return(pathAndFileName);
        }
Example #2
0
 public byte[] AttachmentDownload(AttachmentDownloadData data)
 {
     return(PostAsync <AttachmentDownloadData>(data, "AttachmentDownload"));
 }