CngKey.KeyUsage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.