CngKey.Open Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: