private void Application_Startup(object sender, StartupEventArgs e) { _excepticonSdk = ExcepticonSdk.Init("{Your ApiKey Here}"); MainWindow wnd = new MainWindow(); wnd.Show(); }
static void Main(string[] args) { using (ExcepticonSdk.Init("{Your ApiKey Here}")) { throw new ApplicationException("This error will be sent to Excepticon."); } }