File: System\Security\Permissions\DataProtectionPermissionFlags.cs
Web Access
Project: src\src\libraries\System.Security.Permissions\src\System.Security.Permissions.csproj (System.Security.Permissions)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Security.Permissions
{
#if NET
    [Obsolete(Obsoletions.CodeAccessSecurityMessage, DiagnosticId = Obsoletions.CodeAccessSecurityDiagId, UrlFormat = Obsoletions.SharedUrlFormat)]
#endif
    [Flags]
    public enum DataProtectionPermissionFlags
    {
        NoFlags         = 0x00,
 
        ProtectData     = 0x01,
        UnprotectData   = 0x02,
 
        ProtectMemory   = 0x04,
        UnprotectMemory = 0x08,
 
        AllFlags        = 0x0F
    }
}