azure-encryption-extensions
azure-encryption-extensions copied to clipboard
Async not working
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!