Пример #1
0
        public void ShouldGetPermissions()
        {
            var service = ServiceController.GetServices()[0];

            ServiceSecurity.GetServiceSecurityDescriptor(service.ServiceName);
        }
Пример #2
0
 public void ShouldGetPermissions()
 {
     ServiceSecurity.GetServiceSecurityDescriptor("CarbonGrantPrivilege");
 }