Something intrigues me and I don't find any resource on this.
How can FileSystemWatcher know when a file on a computer "A" is created/removed/changed/renamed ?
I thought that this worked with polling, (the observer polls the server to check update), but after verifying the network activity with Wireshark I saw that polling was not used. Does the SMB protocol use a observable/observer pattern ?
In this case how the server can know when a client doesn't observe him anymore ?
What is the consequence when the network falls during an observation and comes back right after?
Using FileSystemWatcher on another computer seems too easy to be true...