I think one of your problems here is that all your recordings are done before the event gets a piece of this processor. MSDN status
The Changed event occurs when changes are made to the size, system attributes, last record time, last access time or security permission of a file or directory in a controlled directory.
I did a test and inserted Sleeps after each call to WriteData (...), I got
09:32] The observer has changed!
09:32] The observer has changed!
09:32] -----> Posted data
09:32] -----> Posted data
09:32] -----> Posted data
09:32] -----> Posted data
09:32] The observer has changed!
09:32] The observer has changed!
I assume that this type proves that even happens right after calling Flush (), it is just a matter of when the event handler is executed (and I assume that it also groups events). I do not know the specific needs of your project, but I would not question. Sounds like a waste, since FileSystemWatcher does what you want it to do in my opinion.
Edit: Well, I think my brain was not yet ready for thought when I posted it. Your conclusion that it fires when you open and close a stream seems more logical and correct. I guess I was looking for "prove" that it works when you call a flash, and therefore I found it - somehow.
Update I just pulled it out in the USN-Journal, and it seems that you will not get what you want, since it only records when the file is closed. β http://msdn.microsoft.com/en-us/library/aa363803(VS.85).aspx I also found a USN Viewer in C # and http://social.msdn.microsoft.com/Forums/en / csharpgeneral / thread / c1550294-d121-4511-ac32-31551497f64e may be interesting to read as well.
I also ran DiskMon to find out if it is receiving real-time changes. This is not so, but I do not know if it was intentional or not. However, the problem is that they require administrator rights to run. Therefore, I think you are stuck in FileSystemWatcher. (In any case, you need updates, this is not the way you can read a file while it is open / locked by another program.)
ps: I just noticed that you are a BugAid developer, which I only recently found out about - it looks amazing :)