azure-encryption-extensions icon indicating copy to clipboard operation
azure-encryption-extensions copied to clipboard

Async not working

Open Eleasar opened this issue 9 years ago • 0 comments

Hi,

when change the Samples.cs from

blob.UploadFromFileEncrypted(provider, path, FileMode.Open); to blob.UploadFromFileEncryptedAsync(provider, path, FileMode.Open).GetAwaiter().GetResult();

and run the program i get this error: "Stream does not support reading."

Is there some issue or do i use it wrong? I debugged and checked and both streams (Memory and Crypto) have CanRead "true".

Thanks!

Eleasar avatar May 20 '16 14:05 Eleasar