ISCrdEnr::CSPName property
The CSPName property sets or retrieves the name of the cryptographic service provider (CSP).
This property is read/write.
Syntax
HRESULT put_CSPName(
BSTR newVal
);
HRESULT get_CSPName(
BSTR *pVal
);
Property value
The name of the CSP.
Error codes
If the method succeeds, the method returns S_OK.
If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.
Remarks
Set this property to specify the name of the CSP to use with the Smart Card Enrollment Control. Get this property to retrieve the name of the specified CSP. If you do not specify a value for this property, the CSPName property defaults to the first name in the available list of CSPs.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
DLL |
|
IID |
IID_ISCrdEnr is defined as 753988a1-1357-436d-9cf5-f089bdd67d64 |
See also