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.
X509KeyUsageExtension::KeyUsages Property
.NET Framework (current version)
Gets the key usage flag associated with the certificate.
Assembly: System (in System.dll)
Property Value
Type: System.Security.Cryptography.X509Certificates::X509KeyUsageFlagsOne of the KeyUsages values.
| Exception | Condition |
|---|---|
| CryptographicException | The extension cannot be decoded. |
This property returns a value from the KeyUsages enumeration that indicates how to use the certificate key.
.NET Framework
Available since 2.0
Available since 2.0
Show: