| Visual Basic (Declaration) | |
|---|---|
Public ReadOnly Property KeyUsage As KeyUsage | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Certificate Dim value As KeyUsage value = instance.KeyUsage | |
| C# | |
|---|---|
public KeyUsage KeyUsage {get;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property KeyUsage get_KeyUsage(); | |
Property Value
A KeyUsage constant identifying the purpose of a key.Key usage is an extension to the x.509 certificate format specifying the purpose for a key. For example, KeyUsage.ServerAuth identifies that this certificate can be used to provide server authentication.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code