public void Stop() { if (pipe != null) { try { pipe.Dispose(); } finally { pipe = null; } } }
public Server(Bridge bridge, int id) { _serverID = id; this.bridge = bridge; pipe = new ServerPipe(PipeName, this); }