Bewerken

Delen via


CngKey.UniqueName Property

Definition

Gets the unique name for the key.

public:
 property System::String ^ UniqueName { System::String ^ get(); };
public string? UniqueName { get; }
public string UniqueName { get; }
public string UniqueName { [System.Security.SecurityCritical] get; }
member this.UniqueName : string
[<get: System.Security.SecurityCritical>]
member this.UniqueName : string
Public ReadOnly Property UniqueName As String

Property Value

An alternate name for the key. If the key is ephemeral, the value is null.

Attributes

Remarks

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.

Applies to