Export (0) Print
Expand All

CngKey.UniqueName Property

Gets the unique name for the key.

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

public string UniqueName { get; }

Property Value

Type: System.String
An alternate name for the key. If the key is ephemeral, the value is null.

This property gets an alternate name that can be used when accessing the key. You can use this property if the original key name does not uniquely identify the persisted key. The MicrosoftSoftwareKeyStorageProvider property will return the file name of the key as this property. The name returned by the MicrosoftSmartCardKeyStorageProvider is implementation-dependent.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft