I am currently using FileSystemWatcher to monitor my local file system changes but i want to monitor Folder/File opening. after a lot of investigations, i found that this can be done using ReadDirectoryChangesW but i can't use this method along with FileSystemWatcher. My question is how to combine ReadDirectoryChangesW with FileSystemWatcher with a sample code on how to do this.
public class Watcher : FileSystemWatcher
{
}