<?xml version="1.0" encoding="utf-8"?>
<Type Name="SemaphoreRights" FullName="System.Security.AccessControl.SemaphoreRights">
  <TypeSignature Language="C#" Value="public enum SemaphoreRights" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed SemaphoreRights extends System.Enum" />
  <AssemblyInfo>
    <AssemblyName>System</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
    <AssemblyVersion>4.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Enum</BaseTypeName>
  </Base>
  <Attributes>
    <Attribute>
      <AttributeName>System.Flags</AttributeName>
    </Attribute>
    <Attribute>
      <AttributeName>System.Runtime.InteropServices.ComVisible(false)</AttributeName>
    </Attribute>
  </Attributes>
  <Docs>
    <since version=".NET 2.0" />
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Use the <see cref="T:System.Security.AccessControl.SemaphoreRights" /> enumeration to specify access control rights when you create <see cref="T:System.Security.AccessControl.SemaphoreSecurity" /> objects. To apply access rights to a named system semaphore, use <see cref="T:System.Security.AccessControl.SemaphoreSecurity" /> objects with the <see cref="M:System.Threading.Semaphore.#ctor(System.Int32,System.Int32,System.String,System.Boolean@,System.Security.AccessControl.SemaphoreSecurity)" /> constructor and the <see cref="M:System.Threading.Semaphore.SetAccessControl(System.Security.AccessControl.SemaphoreSecurity)" /> method. </para>
      <para>For the numeric values of the underlying Windows access rights, see <see cref="http://go.microsoft.com/fwlink/p/?LinkId=243073">Synchronization Object Security and Access Rights (Windows)</see> in the MSDN Library.</para>
      <block subset="none" type="note">
        <para>Security on synchronization objects is not supported for Windows 98 or Windows Millennium Edition.</para>
      </block>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Specifies the access control rights that can be applied to named system semaphore objects.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName="ChangePermissions">
      <MemberSignature Language="C#" Value="ChangePermissions" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.SemaphoreRights ChangePermissions = int32(262144)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Security.AccessControl.SemaphoreRights</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The right to change the security and audit rules associated with a named semaphore.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="Delete">
      <MemberSignature Language="C#" Value="Delete" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.SemaphoreRights Delete = int32(65536)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Security.AccessControl.SemaphoreRights</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The right to delete a named semaphore.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="FullControl">
      <MemberSignature Language="C#" Value="FullControl" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.SemaphoreRights FullControl = int32(2031619)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Security.AccessControl.SemaphoreRights</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The right to exert full control over a named semaphore, and to modify its access rules and audit rules.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="Modify">
      <MemberSignature Language="C#" Value="Modify" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.SemaphoreRights Modify = int32(2)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Security.AccessControl.SemaphoreRights</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The right to release a named semaphore.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="ReadPermissions">
      <MemberSignature Language="C#" Value="ReadPermissions" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.SemaphoreRights ReadPermissions = int32(131072)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Security.AccessControl.SemaphoreRights</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The right to open and copy the access rules and audit rules for a named semaphore.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="Synchronize">
      <MemberSignature Language="C#" Value="Synchronize" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.SemaphoreRights Synchronize = int32(1048576)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Security.AccessControl.SemaphoreRights</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The right to wait on a named semaphore.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="TakeOwnership">
      <MemberSignature Language="C#" Value="TakeOwnership" />
      <MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.AccessControl.SemaphoreRights TakeOwnership = int32(524288)" />
      <MemberType>Field</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Security.AccessControl.SemaphoreRights</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The right to change the owner of a named semaphore.</para>
        </summary>
      </Docs>
    </Member>
  </Members>
</Type>