private bool Disconnect() { if (voipclient.IsConnected() || voipclient.IsConnecting()) { return(voipclient.Disconnect()); } else { return(false); } }
public bool Disconnect() { if (m_voipclient.IsConnected() || m_voipclient.IsConnecting()) { bool bStatus = m_voipclient.Disconnect(); return(bStatus); } else { return(false); } }
private bool Disconnect() { if (m_voipclient.IsConnected() || m_voipclient.IsConnecting()) { bool bStatus = m_voipclient.Disconnect(); if (bStatus) { logDebugOnly("Disconnection from Conaito server succeeded\n"); } else { logDebugOnly("Disconnection from Conaito server failed\n"); } return(bStatus); } else { return(false); } }