ThreadingAclExtensions.GetAccessControl Method

Definition

Overloads

GetAccessControl(EventWaitHandle)

Returns the security descriptors for the specified handle.

GetAccessControl(Mutex)

Returns the security descriptors for the specified mutex.

GetAccessControl(Semaphore)

Returns the security descriptors for the specified semaphore.

GetAccessControl(EventWaitHandle)

Source:
ThreadingAclExtensions.cs
Source:
ThreadingAclExtensions.cs
Source:
ThreadingAclExtensions.cs
Source:
ThreadingAclExtensions.cs
Source:
ThreadingAclExtensions.cs

Returns the security descriptors for the specified handle.

C#
public static System.Security.AccessControl.EventWaitHandleSecurity GetAccessControl(this System.Threading.EventWaitHandle handle);

Parameters

handle
EventWaitHandle

The event wait handle from which the security descriptors should be returned.

Returns

The security descriptors for the specified handle.

Applies to

.NET 9 (package-provided) and other versions
Product Versions
.NET Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

GetAccessControl(Mutex)

Source:
ThreadingAclExtensions.cs
Source:
ThreadingAclExtensions.cs
Source:
ThreadingAclExtensions.cs
Source:
ThreadingAclExtensions.cs
Source:
ThreadingAclExtensions.cs

Returns the security descriptors for the specified mutex.

C#
public static System.Security.AccessControl.MutexSecurity GetAccessControl(this System.Threading.Mutex mutex);

Parameters

mutex
Mutex

The mutex from which the security descriptors should be returned.

Returns

The security descriptors for the specified mutex.

Applies to

.NET 9 (package-provided) and other versions
Product Versions
.NET Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

GetAccessControl(Semaphore)

Source:
ThreadingAclExtensions.cs
Source:
ThreadingAclExtensions.cs
Source:
ThreadingAclExtensions.cs
Source:
ThreadingAclExtensions.cs
Source:
ThreadingAclExtensions.cs

Returns the security descriptors for the specified semaphore.

C#
public static System.Security.AccessControl.SemaphoreSecurity GetAccessControl(this System.Threading.Semaphore semaphore);

Parameters

semaphore
Semaphore

The semaphore from which the security descriptors should be returned.

Returns

The security descriptors for the specified semaphore.

Applies to

.NET 9 (package-provided) and other versions
Product Versions
.NET Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided)
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9