Ejemplo n.º 1
0
 private NamedPipeServerStream CreatePipe(string connectionPipeName)
 {
     return(_security == null
                         ? PipeServerFactory.CreatePipe(connectionPipeName)
                         : PipeServerFactory.CreatePipe(connectionPipeName, _bufferSize, _security));
 }
Ejemplo n.º 2
0
 private NamedPipeServerStream CreateAndConnectPipe()
 {
     return(_security == null
                         ? PipeServerFactory.CreateAndConnectPipe(_pipeName)
                         : PipeServerFactory.CreateAndConnectPipe(_pipeName, _bufferSize, _security));
 }