有没有人知道通过文件系统HFS+ (苹果)使用FileSystemWatcher来监视目录的问题?以下代码适用于本地windows目录,但对于网络HFS+目录永远不会触发。
var fileWatcher = new FileSystemWatcher
{
Path = Configs.DirWatchedFiles,
Filter = "*.*",
NotifyFilter = NotifyFilters.LastWrite
};
fileWatcher.Changed += FileChanged;
fileWatcher.EnableRaisingEvents = true;发布于 2011-09-16 22:54:45
每个http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx
仅支持的平台包括Windows7、Windows Vista SP1或更高版本、Windows XP SP3、Windows XP SP2 x64版、Windows Server2008(不支持服务器核心)、Windows Server2008 R2 ( SP1或更高版本支持服务器核心)、Windows Server2003 SP2
https://stackoverflow.com/questions/7446461
复制相似问题