How can we implement the .net core file watcher program to watch the GCP directory(filestore). means the program can able to track the changes for particular directory.
The .NET FileSystemWatcher can only watch the directories in a storage / directory managed by the Windows / Linux / Max OS. In a cloud scenario, and particularly the goolge cloud filestore is a managed service and there is no way you can use the FileSystemWatcher API to manage it. They both are called "directories" but doesn't mean they are same. The underlying mechanism to store and represent the structure is a lot different. You probably have to look into the API's in Google Cloud to do what you are looking for.