NamedPipeClientStream throws UnauthorizedAccessException on Connect
I have the same problem everyone else has when connecting a "write" pipe to a running service: UnauthorizedAccessException. I tried every solution and nothing can make it connect successfully. The scenario is having a low-integrity C#/WPF app running in system tray that gets notifications from a Windows Service using named pipes and can tell the service to cancel certain operations or wait for more data (which is why it needs a write pipe to the service). Reading from service's pipe works fine, and I am using two pipe objects (one from service to client and another from client to service). The