开发者

Does .NET FileSystemWatcher work with Mono on Mac OS?

开发者 https://www.devze.com 2023-02-27 12:40 出处:网络
Can I write a Microsoft .NET programm with a FileSystemWatcher and expect it to work under Mac OS X with 开发者_高级运维Mono without changes?Yes, it will work without changes. Mono includes a FileSyst

Can I write a Microsoft .NET programm with a FileSystemWatcher and expect it to work under Mac OS X with 开发者_高级运维Mono without changes?


Yes, it will work without changes. Mono includes a FileSystemWatcher for all platforms.

Keep in mind that your code might want to use Path.PathSeperator to be more compatible with the different ways directory names are formatted on different platforms.


As of November 2011, it exists and works for some uses, but not all.

For example, LastWrite and Size dont seem to work on OSX.

0

精彩评论

暂无评论...
验证码 换一张
取 消