JoshClose/CsvHelper — Issue #23: CsvHelper Cannot Work with Read-only Streams
Author: cshouts
Created: 2011-12-20 19:18:14+00:00
State: open

I am trying to use CsvHelper to parse a read-only Stream, but the CsvHelper constructor throws an exception when a read-only Stream is passed to it because it attempts to new up a StreamWriter for the given Stream. Could we check if Stream.CanWrite is true before trying to new up a CsvWriter?