Send message from one running console app to another

后端 未结 2 731
星月不相逢
星月不相逢 2020-12-09 13:16

I have one console app that is doing some lengthy syncing to an ftp server.
Another console app prepares a local filesystem with some needed updated files.
Then the

2条回答
  •  暖寄归人
    2020-12-09 14:02

    Other popular options for IPC include:

    • Named Pipes
    • Remoting (.NET)
    • WCF

    If you only need synchronization, you may consider a Semaphore, or Mutex object. There are classes which exist in the System.Threading namespace for .NET If you create named versions of these, then they apply to the whole machine.

提交回复
热议问题