System.Threading.Mutex.SetAccessControl Method

Sets the access control security for a named system mutex.

Syntax

public void SetAccessControl (System.Security.AccessControl.MutexSecurity mutexSecurity)

Parameters

mutexSecurity
A System.Security.AccessControl.MutexSecurity object that represents the access control security to be applied to the named system mutex.

Remarks

The user must have System.Security.AccessControl.MutexRights.ChangePermissions rights to call this method, and the mutex must have been opened with System.Security.AccessControl.MutexRights.ChangePermissions.

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0