Example #1
0
        /// <summary>
        /// Downloads attachment as a byte array.
        /// </summary>
        public Task <byte[]> DownloadDataAsync()
        {
            var url = GetRequestUrl();

            return(_webClient.DownloadDataWithAuthenticationAsync(url));
        }