Exemplo n.º 1
0
 protected override async Task <Stream> DownloadStreamedAsync(StorjApiClient client, string hash, string key)
 {
     return(await client.DownloadStreamedAsync(hash, key));
 }
Exemplo n.º 2
0
 protected override async Task <Stream> DownloadStreamedAsync(StorjApiClient client, string hash, string key)
 {
     // Do not provide the key to download the file encrypted
     return(await client.DownloadStreamedAsync(hash));
 }