Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft