This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
can read stream no matter what the current position is ?
if I have now write the stream then the position will be the length of the stream.
I do not want to change the position and I will write it in another thread.
can I read the data ?
Stream.Seek only return the position but no use of it.
how to read the data with out change the position?
Use the IRandomAccessStream.GetInputStreamAt(UInt64) Method to return an input stream at a specified location in a stream.
See EnterpriseDataProtection for a sample.