หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
[The KeySpec property is available for use in the operating systems specified in the Requirements section. Instead, use the X509Certificate2.PrivateKey Property in the System.Security.Cryptography.X509Certificates namespace.]
The KeySpec property retrieves the key specification.
Syntax
PrivateKey.KeySpec As CAPICOM_KEY_SPEC
Property value
A value of the CAPICOM_KEY_SPEC enumeration that indicates the key specification. The following table shows the possible values.
| Value | Meaning |
|---|---|
|
The key can be used for encryption and signing. |
|
The key can be used only for signing. |
Requirements
| Requirement | Value |
|---|---|
| Redistributable |
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
| DLL |
|
See also