CnPack Forum


 
Subject: CnFileSystemWatcher如何区分修改的是什么?
dlslong
新警察
Rank: 1



UID 67459
Digest Posts 0
Credits 5
Posts 1
点点分 5
Reading Access 10
Registered 2012-3-10
Status Offline
Post at 2012-3-10 10:16  Profile | Blog | P.M. 
CnFileSystemWatcher如何区分修改的是什么?

CnFileSystemWatcher的Examples
重命名文件,复制文件,修改属性,写入文件等操作,返回结果都是foModified,如何区分?
比如我复制一个文件,比较大,会生成1个创建消息,3个修改消息,我想等文件全部复制完了再做处理,但都是修改的消息
能否直接加入以便区分?就像NotifyFilters的


Image Attachment: 1.jpg (2012-3-10 10:16, 50.4 K)

Top
 




All times are GMT++8, the time now is 2024-4-20 03:02

    本论坛支付平台由支付宝提供
携手打造安全诚信的交易社区 Powered by Discuz! 5.0.0  © 2001-2006 Comsenz Inc.
Processed in 0.006753 second(s), 8 queries , Gzip enabled

Clear Cookies - Contact Us - CnPack Website - Archiver - WAP