When using the Stream.BeginRead Method, and you are reading from a stream into a memory, how is it determined where you are reading the data from?
See: http://msdn.microsoft.com/en-us/library/system.io.stream.beginread.aspx
In the list of parameters, I do not see one that tells where the data is being read from:
It reads the data from wherever the stream is up to, as determined by the Position
property.
Note that not all streams support seeking, so you cannot necessarily set Position
.