Greetings;
I see from the question tages you’re using C# 3.0 / C# 3.5. If you’re developing your application for the Microsoft Windows platform using the Microsoft .NET 4.0 Framework, have you considered using the
MemoryMappedFile class in the
System.IO.MemoryMappedFiles namespace?
http://msdn.microsoft.com/en-us/library/system.io.memorymappedfiles.memorymappedfile.aspx
From the MSDN Remarks section in the URL referenced above:
A memory-mapped file maps the contents of a file to an application’s logical address space. Memory-mapped files enable programmers to work with extremely large files because memory can be managed concurrently, and they allow complete, random access to a file without the need for seeking. Memory-mapped files can also be shared across multiple processes.
I hope this was of help and of interest…