CngKey.KeyUsage CngKey.KeyUsage CngKey.KeyUsage CngKey.KeyUsage Property


Gets the cryptographic operations specified by the key.

 property System::Security::Cryptography::CngKeyUsages KeyUsage { System::Security::Cryptography::CngKeyUsages get(); };
[get: System.Security.SecurityCritical]
public System.Security.Cryptography.CngKeyUsages KeyUsage { get; }
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.

Applies to