Amazon S3 Async Upload using Task library
问题 I have a windows form that upload file to Amazon S3. I tried to implement built in async method but seems not working fine so I think the best way would be to implement System.Threading.Tasks. My actual code looks like this: public void UploadFileAsync(string bucketName, CloudDocument doc, bool publicRead) { config = new AmazonS3Config(); config.CommunicationProtocol = Protocol.HTTP; client = Amazon.AWSClientFactory.CreateAmazonS3Client(accessKeyID, secretAccessKeyID, config); // Load stream