Exemplo n.º 1
0
 public PipeServer(string pipeName = "NOTools.ConsoleMonitor.PipeConnection")
 {
     _channelManager = new ChannelManager(pipeName);
     _channelManager.Request += new RequestEventHandler(ChannelManager_Request);
     Start();
 }
Exemplo n.º 2
0
 public void Dispose()
 {
     if (null != _channelManager && _channelManager.Listen)
     {
         _channelManager.Stop();
         _channelManager = null;
     }
 }