Here are the examples of the csharp api class Driver.ConnectionHistoryReader.ReadStream(System.IO.StreamReader) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
public IEnumerable<string> Read()
if (!File.Exists(path)) return new string;
using (var stream = new FileStream(path, FileMode.Open))
return ReadStream(new StreamReader(stream));