I want to use FileSystemWatcher to monitor directory containing
log files, and parse them on changed. However, the bad person who wrote program creating logs, coded it so the log files are never actually closed. And though I can access them in FileShare.ReadWrite mode, the FileSystemWatcher actually never arises any events. So is there any walkaround for this issue?
whee
0
Newbie Poster
Recommended Answers
Jump to PostI hesitated replying to this because I haven't actually used the FileSystemWatcher, though I am somewhat familiar with it. I'm a little confused what you are asking. Are you saying that when you change the file that FileSystemWatcher doesn't see the change, or are you wanting it to throw an …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.