ServiceControllerPermission
Allows control of code access security permissions for service controllers.
Gets the collection of permission entries for this permissions request.
public ServiceControllerPermission()
Initializes a new instance of the ServiceControllerPermission class.
Initializes a new instance of the ServiceControllerPermission class with the specified access to resources.
public ServiceControllerPermission(ServiceControllerPermissionAccess permissionAccess, string machineName, string serviceName)
Initializes a new instance of the ServiceControllerPermission class with the specified permission access levels, the name of the computer on which the service resides, and the short name that identifies the service to the system.
Initializes a new instance of the ServiceControllerPermission class with the specified permission entries.