This documentation is archived and is not being maintained.

CngUIPolicy Members

Visual Studio 2008

Encapsulates optional configuration parameters for the user interface (UI) that Cryptography Next Generation (CNG) displays when you access a protected key.

The CngUIPolicy type exposes the following members.

Public method CngUIPolicy Overloaded. Initializes a new instance of the CngUIPolicy class.

Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Public property CreationTitle Gets the title that is displayed by the UI prompt.
Public property Description Gets the description string that is displayed by the UI prompt.
Public property FriendlyName Gets the friendly name that is displayed by the UI prompt.
Public property ProtectionLevel Gets the UI protection level for the key.
Public property UseContext Gets the description of how the key will be used.