public MyDataComunication CloseCommunication() { IsRecording = false; WaveIn.StopRecording(); WaveOut.Stop(); Capture.Stop(); ImageClient.CloseConnection(); ImageServer.CloseConnection(); VoiceClient.CloseConnection(); VoiceServer.CloseConnection(); return(this); }