public void AuthorizationCheckPerformed(object sender, AuthorizationOperationEventArgs e) { if (PerformanceCountersEnabled) { authorizationCheckPerformedCounter.Increment(); } if (WmiEnabled) { FireManagementInstrumentation(new AuthorizationCheckPerformedEvent(instanceName, e.Identity, e.RuleName)); } }
public void AuthorizationCheckPerformed(object sender, AuthorizationOperationEventArgs e) { if (PerformanceCountersEnabled) authorizationCheckPerformedCounter.Increment(); if (WmiEnabled) ManagementInstrumentation.Fire(new AuthorizationCheckPerformedEvent(instanceName, e.Identity, e.RuleName)); }