sharing variables between running applications in C#

前端 未结 4 934
眼角桃花
眼角桃花 2020-12-10 19:28

I am developing in C# two simple applications, running in the same local machine without network requirements.

The first application initializes an DLL (Class1) and

4条回答
  •  悲&欢浪女
    2020-12-10 19:57

    You need some sort of mechanism to communicate between the applications.

    This can be through the registry, files, memory mapped files etc...

    If both applications are expected to do write, you need to add synchronization logic to your code.

提交回复
热议问题