I have an c# application that makes changes to a mysql database via nusoap server in PHP. i have to open another instance of that same application and it makes changes to the same database. i want to know please ¿how can i notify the first instance of the app when the second one makes any change on the database so the first one updates its interface with the updated data?
i tried implementing a method that every certain time checks the database for any changes but that is not an option because changes has to be made at the moment the second instance changes the database
i've tried this to know if there is another instance with the same name but it's all that i have
instances = Process.GetProcessesByName(Process.GetCurrentProcess().ProcessName).Length;