New file in folder

I want to determine when a new file will be added to an existing folder and access it.

How can I do this (C #)?

thank

+3
source share
5 answers

You should take a look at System.IO.FileSystemWatcher , this is the class you might want to use.

+3
source

FileSystemWatcher, , , ..

FileSystemWatcher

+1

Windows, , , , Windows API, .

0

Source: https://habr.com/ru/post/1726970/


All Articles