private Image TakeScreenshot(bool ignoreErrors = false)
        {
            try
            {
                var data = m_usbConnector.Screenshot();
                if (data == null || data.All(x => x == 0x00))
                {
                    throw new InvalidOperationException("Invalid screenshot data!");
                }
                return(BitmapProcessor.CreateBitmapFromBytesArray(64, 128, data));
            }
            catch (Exception ex)
            {
                if (ignoreErrors)
                {
                    return(null);
                }

                s_logger.Warn(ex);
                InfoBox.Show
                (
                    "An error occurred during taking screenshot..." +
                    "\n\n" +
                    "To continue, please activate or reconnect your device."
                );
                return(null);
            }
        }