CngKey.KeyName Property


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

Gets the name of the key.

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

public string KeyName { get; }

Property Value

Type: System.String

The name of the key. If the key is ephemeral, the value is null.

.NET Framework
Available since 3.5
Return to top