/// <summary> Connects the selected device. </summary> /// <returns> True if the connection succeeds. </returns> public bool Connect() { if (SelectedDevice.IsValidAddress()) { IsConnected = true; } return(IsConnected); }