public void SendSyncMessage(CommunicationObject communicationObject) { using (_syncServer = new SyncServer()) { _syncServer.WaitForConnection(); _syncServer.SendMessage(communicationObject); } }