private void GetIpfsFile(DeploymentProvider deployer, string hash, long size, string name) { L.Info("Requesting data stream from IPFS (" + size + " bytes)"); using (var f = AsyncContext.Run(() => _client.FileSystem.ReadFileAsync(hash))) { deployer.GetFromStream(f, size, name); } PinIpfsFile(hash); }