/// <summary> /// Downloads the file to a local folder. The folder is located in MyDocuments /// </summary> /// <param name="pageFullName">FullName of the wiki page - Space.Name</param> /// <param name="attachmentName">Name of the attached file</param> /// <param name="path">The location where the attachment will be downloaded. Use null for default location.</param> /// <returns></returns> public FileInfo DownloadAttachment(String pageFullName, String attachmentName, String path) { AttachmentDownloader attachmentDownloader = new AttachmentDownloader(addin, pageFullName, attachmentName, path, this.Client); attachmentDownloader.Perform(); return(attachmentDownloader.GetResults()); }
/// <summary> /// Downloads the file to a local folder. The folder is located in MyDocuments /// </summary> /// <param name="pageFullName">FullName of the wiki page - Space.Name</param> /// <param name="attachmentName">Name of the attached file</param> /// <param name="path">The location where the attachment will be downloaded. Use null for default location.</param> /// <returns></returns> public FileInfo DownloadAttachment(String pageFullName, String attachmentName, String path) { AttachmentDownloader attachmentDownloader = new AttachmentDownloader(addin, pageFullName, attachmentName, path, this.Client); attachmentDownloader.Perform(); return attachmentDownloader.GetResults(); }