private void Setup() { AdminMonitor.GetInstance().Start(WindowsIdentity.GetCurrent(), CallbackInitAction); }
/// <summary> /// Handles the End event of the Application control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> protected void Application_End(object sender, EventArgs e) { AdminMonitor.GetInstance().Dispose(); }