File: System\Security\Cryptography\CngKeyOpenOptions.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 the NCryptOpenKey() api.
    /// </summary>
    [Flags]
    public enum CngKeyOpenOptions : int
    {
        None = 0x00000000,
        UserKey = 0x00000000,
        MachineKey = 0x00000020,   // NCRYPT_MACHINE_KEY_FLAG
        Silent = 0x00000040,       // NCRYPT_SILENT_FLAG
    }
}