Home > Net >  I ask I want to write a program to have been read the files in the folder, with what method to write
I ask I want to write a program to have been read the files in the folder, with what method to write

Time:03-12

I ask I want to write a program needs to have been read the files in the folder, with what method to write the best effect, warrior of all stripes have what method, are they not written in the comments, thank you ~ ~ first

CodePudding user response:

Didn't say demand, let's see if FileSystemWatcher you want,

CodePudding user response:

Shared reading and writing? Don't quite understand, you can't stop to read to read bai,
Reminds me of a joke
The drunk: master, station will go or not?
Taxi driver:
hey,Drunkard: then you go

CodePudding user response:

reference 1/X - I - n reply:
didn't say demand, let's see if FileSystemWatcher you want,



Demand is to read the file name and the application of database comparison judgment exists,

CodePudding user response:

The FileSystemWatcher to fit you very well, the class can monitor changes in a folder or a file, you in its new, modify... Events inside access to the file name, database... So that they don't have to constantly to read the file,
  •  Tags:  
  • C#
  • Related