My setup requires a web app to start a desktop app. There is a method for doing this mentioned here:
https://weblogs.asp.net/morteza/How-to-run-a-desktop-application-from-a-web-page
However, I would prefer not to make a registry change. Also, I have a file-system connection to the web server, so the server can write a file to my remote profile.
The question is, what is the best way for a desktop 'listener' program to detect that a file has arrived? (so that in this case it can run a script for a larger desktop program).
By 'best' I mean low impact, so preferably not checking the remote directory every half-second. The environment is Citrix Windows, (code used is C#).
Thanks for reading.