---
name: Xamarin.Mac - FSEvent Watcher
description: Directory monitoring sample app using FSEvents from CoreServices.
page_type: sample
languages:
- csharp
products:
- xamarin
urlFragment: fsevents
---
# FSEvent Watcher

Directory monitoring sample app using [FSEvents from CoreServices](https://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/FSEvents_ProgGuide/TechnologyOverview/TechnologyOverview.html#//apple_ref/doc/uid/TP40005289-CH3-SW1).

![File system event watcher app](Screenshots/0.png)

## Prerequisites

* Mac computer with the latest version of macOS.
* [Visual Studio for Mac](https://visualstudio.microsoft.com/vs/mac/).
* Latest version of [Xcode](https://developer.apple.com/xcode/) from Apple.

## Running the sample

1. Open the solution file (**.sln**) in Visual Studio for Mac.
1. Use the **Run** button or menu to start the app.
