I have this scenario:
DownloadLibrary.GetData(Stream targetStream);
SaveLibrary.WriteData(Stream sourceStream);
I want to send the data that targetStream collects to the sourceStream. I've come up with some solutions but I cannot find a way to connect those streams directly.
What I'm trying to achieve is send the data from targetStream to sourceStream without buffer the targetStream first.
How can it be done?
Thanks in advance.