CngKey.UIPolicy Property


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

Gets parameters that control the user interface (UI) for accessing the key.

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

public CngUIPolicy UIPolicy { get; }

Property Value

Type: System.Security.Cryptography.CngUIPolicy

An object that contains configuration parameters for displaying the UI.

The key UI policy is used with UI prompts such as smart card PIN prompts. This policy also controls password dialog boxes for protected keys.

.NET Framework
Available since 3.5
Return to top