ICspInformation::get_Valid method (certenroll.h)

The Valid property retrieves a Boolean value that specifies whether the provider is installed on the client computer.

This property is read-only.

Syntax

HRESULT get_Valid(
  VARIANT_BOOL *pValue
);

Parameters

pValue

Return value

None

Remarks

The Valid property is typically set by the Certificate Enrollment Control when it processes the list of providers identified in a template-based certificate request. If a provider listed in the template is not installed on the client, the control creates an ICspInformation object and sets the value of this property to false. You can use this property value in a user interface to indicate whether a provider is available. If a provider is not installed, only the Valid property and the Name property provide meaningful information.

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

See also

ICspInformation