摘要: System.IO命名空间下面有一个FileSystemWatcher,这个东西可以实现文件变动的提醒。需要监控文件夹变化(比如FTP服务器)的情形非常适用。 需要监控文件新建时,我们可以这么写: _fileSystemWatcher.Path = path; _fileSystemWatcher. 阅读全文
posted @ 2022-10-19 13:25 波多尔斯基 阅读(1184) 评论(3) 推荐(6) 编辑