CngKey.UIPolicy Property

Definition

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

public:
 property System::Security::Cryptography::CngUIPolicy ^ UIPolicy { System::Security::Cryptography::CngUIPolicy ^ get(); };
[get: System.Security.SecurityCritical]
public System.Security.Cryptography.CngUIPolicy UIPolicy { get; }
member this.UIPolicy : System.Security.Cryptography.CngUIPolicy
Public ReadOnly Property UIPolicy As CngUIPolicy

Property Value

An object that contains configuration parameters for displaying the UI.

Attributes

Remarks

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.

Applies to