开发者

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

开发者 https://www.devze.com 2023-01-04 08:51 出处:网络
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

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

精彩评论

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