<PackageReference Include="System.Security.Permissions" Version="6.0.0-rc.1.21451.13" />

ServiceControllerPermissionEntryCollection

Contains a strongly-typed collection of ServiceControllerPermissionEntry objects.
public ServiceControllerPermissionEntry this[int index] { get; set; }

Gets or sets the object at a specified index.

Adds a specified ServiceControllerPermissionEntry to this collection.

Appends a set of specified permission entries to this collection.

Appends a set of specified permission entries to this collection.

Determines whether this collection contains a specified ServiceControllerPermissionEntry object.

public void CopyTo(ServiceControllerPermissionEntry[] array, int index)

Copies the permission entries from this collection to an array, starting at a particular index of the array.

Determines the index of a specified permission entry in this collection.

public void Insert(int index, ServiceControllerPermissionEntry value)

Inserts a permission entry into this collection at a specified index.

Removes a specified permission entry from this collection.