Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7694219
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:16:11+00:00 2026-05-31T21:16:11+00:00

I want to specify the FileSystemWatcher to check the files in the system has

  • 0

I want to specify the FileSystemWatcher to check the files in the system has changed since a datetime:

FileSystemWatcher watcher = new FileSystemWatcher();

watcher.Path = @"C:\MyDirectory";
watcher.Changed+= new RenamedEventHandler(watcher_Changed)
watcher.EnableRaisingEvents = true;

How can I specify it such that: when the watcher is started, there are already existing files inside the folder. The fileSystemWatcher will get notified for the files are after a specific date time. how is it implemented with FileSystemWatcher? or if not, what is other alternatives?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T21:16:12+00:00Added an answer on May 31, 2026 at 9:16 pm

    I found it:

    before watching a folder using watcher.Notify, I have to check all of the files inside a folder if they are new then process them first.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The FileSystemWatcher class here: http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx Has a filter property to let you specify what
I want to specify a file system path as part of a Spring bean
Basically I want to specify all files that end with Test.dll, also known as
I want to specify a virtual path of a file but I am not
I installed django and want to specify its path in my mac, and I
I want to specify the Desktop as an output for the logfile, but since
I want to specify a project to be opened when I launch Delphi(D2010). Is
I want to specify that either fieldname or freetext must always be present in
I have a Java WebStart application for which I want to specify that the
I have a custom behavior for a service where I want to specify a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.