我有一个在本地系统帐户下运行的服务。我有一个以非 UAC 模式运行的应用程序。两者作为服务器和客户端相互交互。
作为客户端的应用程序可以与服务通信。但作为客户端的服务无法与应用程序通信。
如果我使用 UAC 运行,问题就解决了。
<customBinding>
<binding name="net.pipe">
<namedPipeTransport />
</binding>
</customBinding>
最佳答案
该行为是设计使然。啊。
一篇优秀的文章清除了命名管道绑定(bind) Exploring the WCF Named Pipe Binding
关于c# - 如何允许 netNamedPipeBinding 与要求 UAC 一起工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2856067/