Example #1
0
 private void Setup()
 {
     AdminMonitor.GetInstance().Start(WindowsIdentity.GetCurrent(), CallbackInitAction);
 }
Example #2
0
 /// <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();
 }