ravibpatel / CrashReporter.NET

Send crash reports of your classic desktop application developed using .NET Framework directly to your mail's inbox with full exception report, stack trace and screenshot.
MIT License
184 stars 74 forks source link

Does not include screenshot in report #40

Open yspak82 opened 3 years ago

yspak82 commented 3 years ago
            base.OnStartup(e);
            AppDomain.CurrentDomain.UnhandledException += CurrentDomainOnUnhandledException;
            Application.Current.DispatcherUnhandledException += DispatcherOnUnhandledException;
            TaskScheduler.UnobservedTaskException += TaskSchedulerOnUnobservedTaskException;
            _reportCrash = new ReportCrash("Email where you want to receive crash reports")
            {
                Silent = true,
                IncludeScreenshot = true,
                ShowScreenshotTab = true,
                CaptureScreen = true,
            };
            _reportCrash.RetryFailedReports();