bool AttemptConnection(int a_pipe) { string pipename = string.Format(PIPENAME, a_pipe); if (m_internalClient.AttemptConnection(pipename)) { m_connectedPipe = a_pipe; return(true); } return(false); }