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::Create Method

 

Creates a CngKey object that represents a new key.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreate(CngAlgorithm^)

Creates a CngKey object that can be used with the specified algorithm.

System_CAPS_pubmethodSystem_CAPS_staticCreate(CngAlgorithm^, String^)

Creates a named CngKey object that provides the specified algorithm.

System_CAPS_pubmethodSystem_CAPS_staticCreate(CngAlgorithm^, String^, CngKeyCreationParameters^)

Creates a named CngKey object that provides the specified algorithm, using the supplied key creation parameters.

Return to top
Show:
© 2017 Microsoft