The Microsoft Caching Application Block contains a useful internal class that can be used to write/read meta-data to file on NTFS files, as I had to do recently. Part of the app block is the MemoryMappedFileHelper.cs file which contains a ton of P/Invoke
Read More