You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The call to StreamConnection.GetReader creates an AsyncStreamPipe. In the ctor of AsyncStreamPipe
if read is true, it ensures the stream is writable and if not throws an exception.
and if write is true it checks to ensure the stream is readable
because of this, when trying to get a reader for a readonly file, an exception is thrown.
How can we get a reader for a readonly stream?
The text was updated successfully, but these errors were encountered:
The call to StreamConnection.GetReader creates an AsyncStreamPipe. In the ctor of AsyncStreamPipe
if read is true, it ensures the stream is writable and if not throws an exception.
and if write is true it checks to ensure the stream is readable
because of this, when trying to get a reader for a readonly file, an exception is thrown.
How can we get a reader for a readonly stream?
The text was updated successfully, but these errors were encountered: