<PackageReference Include="System.Threading.AccessControl" Version="11.0.0-preview.5.26302.115" />

System.Threading.SemaphoreAcl

public static class SemaphoreAcl
Provides a Windows-specific extension method for creating Semaphore objects with specific access control list (ACL) security.
namespace System.Threading { public static class SemaphoreAcl { public static Semaphore Create(int initialCount, int maximumCount, string name, out bool createdNew, SemaphoreSecurity semaphoreSecurity); public static Semaphore OpenExisting(string name, SemaphoreRights rights); public static bool TryOpenExisting(string name, SemaphoreRights rights, out Semaphore result); } }