D
D
Daniil Demidko2015-06-30 12:41:22
.NET
Daniil Demidko, 2015-06-30 12:41:22

What event is generated when files are added to a folder?

Application - displays photos from a network folder.
You need to keep track of adding new photos.
What class can help?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Fedoryan, 2015-06-30
@AnnTHony

A handwritten one will help.
View the last modified date/time and compare with the previous one ->
if different, then compare the number of files in the folder before and after ->
if different, scan the filenames and find the differences -> update the list of files
At worst, Google does a great job with this question, for example: FileSystemWatcher

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question