Ejemplo n.º 1
0
 public bool SetAcl(Action<DiscretionaryAcl> applySecurityIdentifier)
 {
     using (var controller = new ServiceController(ServiceName))
     {
         return controller.SetAcl(applySecurityIdentifier);
     }
 }