ICspInformation::get_IsHardwareDevice method (certenroll.h)
The IsHardwareDevice property retrieves a Boolean value that determines whether the provider is implemented in a hardware device.
This property is read-only.
Syntax
HRESULT get_IsHardwareDevice(
VARIANT_BOOL *pValue
);
Parameters
pValue
Return value
None
Remarks
This property only specifies whether a provider is implemented in hardware. Because a provider can be implemented in both hardware and software, you cannot assume that a value of true for this property indicates that there is no software component. You must also examine the IsSoftwareDevice property. The following providers return true for the IsHardwareDevice property:
- Microsoft Smart Card Key Storage Provider
- Microsoft Base Smart Card Crypto Provider
Both of these providers also return true for the IsSoftwareDevice property. The Certificate Enrollment service assumes that a provider is a smart card provider if both the IsHardwareDevice and IsSoftwareDevice properties are set, or if the IsRemovable property is set.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | certenroll.h |
DLL | CertEnroll.dll |