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::UniqueName Property

 

Gets the unique name for the key.

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

public:
property String^ UniqueName {
	String^ 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
Available since 3.5
Return to top
Show:
© 2017 Microsoft