I have some code that uses FileSystemWatcher to monitor file changes outside of my application.
On Windows 7, using .NET 4, the below code would detect when a file
I had the same problem. This class seems to work on my windows 8 computer:
https://stackoverflow.com/a/23743268/637142
Reason why I use that class is because it behaves the same on windows 7 and windows 8.