Open Method

CngKey.Open Method

 

Creates an instance of an CngKey object that represents an existing key.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticOpen(SafeNCryptKeyHandle, CngKeyHandleOpenOptions)

Creates an instance of an CngKey object by using a handle to an existing key.

System_CAPS_pubmethodSystem_CAPS_staticOpen(String)

Creates an instance of an CngKey object that represents an existing named key.

System_CAPS_pubmethodSystem_CAPS_staticOpen(String, CngProvider)

Creates an instance of an CngKey object that represents an existing named key, using the specified key storage provider (KSP).

System_CAPS_pubmethodSystem_CAPS_staticOpen(String, CngProvider, CngKeyOpenOptions)

Creates an instance of an CngKey object that represents an existing named key, using the specified key storage provider (KSP) and key open options.

Return to top
Show:
© 2016 Microsoft