CngUIPolicy Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encapsulates optional configuration parameters for the user interface (UI) that Cryptography Next Generation (CNG) displays when you access a protected key.
public ref class CngUIPolicy sealed
public sealed class CngUIPolicy
type CngUIPolicy = class
Public NotInheritable Class CngUIPolicy
- Inheritance
-
CngUIPolicy
This class enables you to create a UI policy for displaying prompts about key operations such as smart card PIN prompts. It also enables you to enforce user interaction to access a key, even if the key is stored in a software key storage provider (KSP) instead of in a smart card. CNG displays these configuration parameters for the UI when you access a protected key.
Obs!
CNG classes don't work on non-Windows platforms.
Cng |
Initializes a new instance of the CngUIPolicy class by using the specified protection level, friendly name, description string, use context, and title. |
Cng |
Initializes a new instance of the CngUIPolicy class by using the specified protection level, friendly name, description string, and use context. |
Cng |
Initializes a new instance of the CngUIPolicy class by using the specified protection level, friendly name, and description. |
Cng |
Initializes a new instance of the CngUIPolicy class by using the specified protection level and friendly name. |
Cng |
Initializes a new instance of the CngUIPolicy class by using the specified protection level. |
Creation |
Gets the title that is displayed by the UI prompt. |
Description |
Gets the description string that is displayed by the UI prompt. |
Friendly |
Gets the friendly name that is displayed by the UI prompt. |
Protection |
Gets the UI protection level for the key. |
Use |
Gets the description of how the key will be used. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Produkt | Versjoner |
---|---|
.NET | Core 1.0, Core 1.1, 6, 7, 8, 9 |
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided), 2.1 (package-provided) |
Windows Desktop | 3.0, 3.1, 5 |
.NET-tilbakemelding
.NET er et åpen kilde-prosjekt. Velg en kobling for å gi tilbakemelding: