开发者

How can I create a .net remoting IPC channel accessible from all sessions?

If I have a Windows Service running in its own session (Se开发者_如何学Gossion 0 isolation Vista/7), my GUI application in the users session cannot connect via .NET remoting using a IPC channel(named pipe). I do not want to use the TCP channel. Can I specify the channel as global?


Turns out it was being created globally. I was in fact getting an access denied exception. Setting authorizedGroup="Everyone" on the channel fixed it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜