File: System\Security\Cryptography\CngPropertyOptions.cs
Web Access
Project: src\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj (System.Security.Cryptography)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System;
using System.Diagnostics;
 
namespace System.Security.Cryptography
{
    /// <summary>
    ///     Maps to the "dwFlags" parameter of NCryptGetProperty() and NCryptSetProperty().
    /// </summary>
    [Flags]
    public enum CngPropertyOptions : int
    {
        None = 0,
        CustomProperty = 0x40000000,              //NCRYPT_PERSIST_ONLY_FLAG (The property is not specified by CNG. Use this option to avoid future name conflicts with CNG properties.)
        Persist = unchecked((int)0x80000000),     //NCRYPT_PERSIST_FLAG (The property should be persisted.)
    }
}