C# UWP Windows 10 Inter Process Communication with MemoryMappedFiles missing

后端 未结 2 1051
面向向阳花
面向向阳花 2021-02-15 18:17

I\'m facing a new problem, that occured while coding my IPC for my app.

Before UWP I was able to use the directive using System.IO.MemoryMappedFiles; sucess

相关标签:
2条回答
  • 2021-02-15 19:00

    Support for MemoryMappedFiles in uwp was added while back. Although the documentation isn't clear, you can create and share MemoryMappedFiles using the directive using System.IO.MemoryMappedFiles. You have to declare codeGeneration capability to be able to do that.

    0 讨论(0)
  • 2021-02-15 19:05

    Direct inter-process communication is not available in Universal apps.

    You can use App Services or LaunchUriForResultsAsync to perform tasks that span multiple apps.

    0 讨论(0)
提交回复
热议问题