private void OnConnectCommandExecute() { Task.Factory.StartNew(() => _clientAppService.Connect(Api.Common.Utils.GetAddressFromHost(Host))); Shown = false; }