Example #1
0
 public void PipeServer_DoubleInstance_ThrowsException()
 {
     CreateServerPipe();
     Assert.Throws <InvalidOperationException>(() => PipeServer.CreatePipeServer(_pipeName, _pipeName));
 }
Example #2
0
 private void CreateServerPipe()
 {
     _pipeName   = "TestPipe" + RandomString(8);
     _pipeServer = PipeServer.CreatePipeServer(_pipeName, _pipeName);
 }