System.Security.Cryptography.CngUIPolicy
Encapsulates optional configuration parameters for the user interface (UI) that Cryptography Next Generation (CNG) displays when you access a protected key.
Gets the title that is displayed by the UI prompt.
Gets the description string that is displayed by the UI prompt.
Gets the friendly name that is displayed by the UI prompt.
Gets the UI protection level for the key.
Gets the description of how the key will be used.
Initializes a new instance of the CngUIPolicy class by using the specified protection level.
Initializes a new instance of the CngUIPolicy class by using the specified protection level and friendly name.
Initializes a new instance of the CngUIPolicy class by using the specified protection level, friendly name, and description.
public CngUIPolicy(CngUIProtectionLevels protectionLevel, string friendlyName, string description, string useContext)
Initializes a new instance of the CngUIPolicy class by using the specified protection level, friendly name, description string, and use context.
public CngUIPolicy(CngUIProtectionLevels protectionLevel, string friendlyName, string description, string useContext, string creationTitle)
Initializes a new instance of the CngUIPolicy class by using the specified protection level, friendly name, description string, use context, and title.