CngKey.Exists 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.

Checks for a named key in a specific key storage provider(KSP).

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticExists(String)

Checks to see whether a named key exists in the default key storage provider (KSP).

System_CAPS_pubmethodSystem_CAPS_staticExists(String, CngProvider)

Checks to see whether a named key exists in the specified key storage provider (KSP).

System_CAPS_pubmethodSystem_CAPS_staticExists(String, CngProvider, CngKeyOpenOptions)

Checks to see whether a named key exists in the specified key storage provider (KSP), according to the specified options.

Return to top
Show: