I have an application that I am developing, and what I'd like to do is to notify other people that are using the same application when they have closed the application. Many people may be using this application, which is a windows form application, and I would like notify users when other users have logged off. I have looked into the observable design pattern, but since each application will have a separate a instance of the code, I am not sure how to implement this.
Any thoughts.
Thank you very much.
Loading
Javeed M ShaikhPosted Oct 20, 2011, 10:54 PM
You can make an update in the database when the user logs off or closes the application and let there be a timer control in the main window of your windows application which will trigger after a certain interval in async on a seperate low priority thread and check for the status of other users in that table and notify the current windows application.
Please do not forget to mark "Accepted Answer".