Exemplo n.º 1
0
 private void Setup()
 {
     AdminMonitor.GetInstance().Start(WindowsIdentity.GetCurrent(), CallbackInitAction);
 }
Exemplo n.º 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();
 }