Export (0) Print
Expand All

CngKey Methods

The CngKey type exposes the following members.

  NameDescription
Public method Static member Create Overloaded. Creates a CngKey object that represents a new key.
Public method Delete Removes the key that is associated with the object.
Public method Dispose Releases all resources used by the current instance of the CngKey class.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Static member Exists Overloaded. Checks for a named key in a specific key storage provider(KSP).
Public method Export Exports the key material into a BLOB, in the specified format.
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 GetProperty Gets a property, given a name and a set of property options.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method HasProperty Checks to see whether the specified property exists on the key.
Public method Static member Import Overloaded. Creates a new key by importing key material into the key storage provider (KSP).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Open Overloaded. Creates an instance of an CngKey object that represents an existing key.
Public method SetProperty Sets a named property on the key.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft