Both ends are being opened as PipeDirection.InOut
If I run both ends as the same user, all is ok.
Does anyone have any ideas?
...Matt
PipeSecurity pipeSecurity = new PipeSecurity();
pipeSecurity.AddAccessRule(new PipeAccessRule("Everyone",
PipeAccessRights.ReadWrite,
system.Security.AccessControl.AccessControlType.Allow));
using (NamedPipeServerStream pipe = new
NamedPipeServerStream("pipetest", PipeDirection.InOut, 1,
PipeTransmissionMode.Message, PipeOptions.None, 512,
512, pipeSecurity, HandleInheritability.None))
The trick was setting up the security.
"Matt Houser" <ma...@houser.ca> wrote in message
news:5ECD9ADD-5044-4831...@microsoft.com...