/// <summary> /// Get a screenshot of the current application</summary> /// <returns>Screenshot of current application</returns> protected override System.Drawing.Image GetApplicationScreenshot() { var bitmapSource = ImageUtil.CaptureWindow(Application.Current.MainWindow); { return(ImageUtil.BitmapFromSource(bitmapSource)); } }