private void StopServerPipe() { try { ClientPipeConnection pipe = new ClientPipeConnection(PipeName); if (pipe.TryConnect()) { pipe.Close(); } } catch { // Log exception } }
private void StopServerPipe() { try { ClientPipeConnection pipe = new ClientPipeConnection(PipeName); if (pipe.TryConnect()) { pipe.Close(); } } catch { // Log exception } }