﻿<?xml version="1.0" encoding="utf-8"?><Type Name="PermissionState" FullName="System.Security.Permissions.PermissionState" FullNameSP="System_Security_Permissions_PermissionState" Maintainer="ecma"><TypeSignature Language="ILASM" Value=".class public sealed serializable PermissionState extends System.Enum" /><TypeSignature Language="C#" Value="public enum PermissionState" /><TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed PermissionState extends System.Enum" /><MemberOfLibrary>BCL</MemberOfLibrary><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Enum</BaseTypeName></Base><Attributes><Attribute><AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Permissions can be created in either a totally restrictive or totally unrestrictive state. A totally restrictive state allows no access to resources; a totally unrestricted state allows all access to a particular resource. For example, the file permission constructor could create an object representing either no access to any files or all access to all files.</para><para>Each type of permission clearly defines extreme states representing either all or none of the permissions expressible within the type. Thus, it is possible to create a generic permission in a completely restricted or unrestricted state without knowledge of the particular permission; however, intermediate states can only be set according to the specific permission semantics.</para><para>All code access permissions implemented in the .NET Framework can take a <see cref="T:System.Security.Permissions.PermissionState" /> value as an argument to their constructor.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies whether a permission should have all or no access to resources at creation.</para></summary></Docs><Members><Member MemberName="None"><MemberSignature Language="ILASM" Value=".field public static literal valuetype System.Security.Permissions.PermissionState None = 0" /><MemberSignature Language="C#" Value="None" /><MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Permissions.PermissionState None = int32(0)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Security.Permissions.PermissionState</ReturnType></ReturnValue><Parameters /><MemberValue>None</MemberValue><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>No access to the resource protected by the permission.</para></summary></Docs><Excluded>0</Excluded></Member><Member MemberName="Unrestricted"><MemberSignature Language="ILASM" Value=".field public static literal valuetype System.Security.Permissions.PermissionState Unrestricted = 1" /><MemberSignature Language="C#" Value="Unrestricted" /><MemberSignature Language="ILAsm" Value=".field public static literal valuetype System.Security.Permissions.PermissionState Unrestricted = int32(1)" /><MemberType>Field</MemberType><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Security.Permissions.PermissionState</ReturnType></ReturnValue><Parameters /><MemberValue>Unrestricted</MemberValue><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Full access to the resource protected by the permission.</para></summary></Docs><Excluded>0</Excluded></Member></Members><TypeExcluded>0</TypeExcluded></Type>