Inter application communication in WinRT

后端 未结 4 1370
渐次进展
渐次进展 2021-01-23 00:06

There are two WinRT applications (C#/Xaml if it matters) on Windows 8. The first app should receive and send some data into the second one. What the best way to do that? Can WCF

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-23 00:38

    Not possible, this requires loopback support. Something you can only turn on for testing, you cannot rely on it on your user's machine. The CheckNetIsolation.exe utility is available to enable it, MSDN article is here.

    Emphasis on only for testing, you can't ship an app like this. Your authentication server needs to run on another machine. Pretty essential anyway considering the odds it will be compromised when it runs on the same machine.

提交回复
热议问题