I am wondering if it\'s possible to get a readonly FileStream to a locked file? I now get an exception when I try to read the locked file.
using (FileStream
I've used the following which works, however should use with caution as file can be modified while you have it open by another process.
FileStream fs = new FileStream(path, FileMode.Open, FileAccess.Read,FileShare.ReadWrite);