.NET: Send a text message to all instances of the same application and read it
I need abil开发者_开发问答ity to reliably sync some chunks of textual data between all running instances of my application. What's the best way to make it?
Generally speaking you need the Observer Pattern. You need something to act as a server. After that it depends whether if a change happened at some application should notify the observer or the observer should request change summary from every client (at some intervals), merge it and return it to the clients. It is too complex to answer with such minimum information you provided.
精彩评论