There are many samples of c# code showing how to upload a file when a stream is being read from file on disk.
So I think I need to do a new Stream
, but I do not understand what this means:
StreamReader sourceStream = new StreamReader(Stream stream)