CngUIProtectionLevels Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Specifies the protection level for the key in user interface (UI) prompting scenarios.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

[FlagsAttribute]
public enum CngUIProtectionLevels

Member nameDescription
ForceHighProtection

A UI prompt is displayed every time the key is accessed.

None

No UI prompt is displayed when the key is accessed.

ProtectKey

A UI prompt is displayed the first time the key is accessed in a process.

.NET Framework
Available since 3.5
Return to top
Show: