Bewerken

Share via


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(); };
public System.Security.Cryptography.CngUIPolicy UIPolicy { get; }
public System.Security.Cryptography.CngUIPolicy UIPolicy { [System.Security.SecurityCritical] get; }
member this.UIPolicy : System.Security.Cryptography.CngUIPolicy
[<get: System.Security.SecurityCritical>]
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