Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

DirectoryWatcherTouch

$
0
0

I wanted to check for changes to the Documents folder when iTunes sharing is enabled and the user is managing files in the app using iTunes. I couldn't figure out a (simple) way to monitor a directory in my App's file-system using MonoTouch, so I wrote this small DirectoryWatcher binding project that wraps Apple's DirectoryWatcher class...

https://github.com/dbelcher/DirectoryWatcherTouch

Please let me know if there is a simpler way of doing this (besides scanning a folder in a background thread at some arbitrary interval). Is there a FileSystemWatcher out there for the Xamarin twins that I've been missing?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>