CngKey.KeyUsage Property

Definition

Gets the cryptographic operations specified by the key.

public:
 property System::Security::Cryptography::CngKeyUsages KeyUsage { System::Security::Cryptography::CngKeyUsages get(); };
public System.Security.Cryptography.CngKeyUsages KeyUsage { get; }
public System.Security.Cryptography.CngKeyUsages KeyUsage { [System.Security.SecurityCritical] get; }
member this.KeyUsage : System.Security.Cryptography.CngKeyUsages
[<get: System.Security.SecurityCritical>]
member this.KeyUsage : System.Security.Cryptography.CngKeyUsages
Public ReadOnly Property KeyUsage As CngKeyUsages

Property Value

A bitwise combination of the enumeration values that specify the usages allowed for the key.

Attributes

Applies to