These are chat archives for akkadotnet/AkkaStreams

3rd
Aug 2017
HansVanderGucht
@HansVanderGucht
Aug 03 2017 16:35
Hi, can we process a file with streams ? Even if it's locked by another process ( it's just for reading )
Now I use following in c# to open locked file : using (var fs = new FileStream(logFileName, FileMode.Open, FileAccess.Read, FileShare.Delete | FileShare.ReadWrite, 0x1000, FileOptions.SequentialScan))
using (var sr = new StreamReader(fs, Encoding.GetEncoding(fileEncoding)))
Marc Piechura
@marcpiechura
Aug 03 2017 17:48
It should work, the file is opened only for reading