PrApi: GetCertificateId

GetCertificateId

Returns the certificate identifier for the given authentication.

 Public Function GetCertificateId(
	  ByVal card As String,
	  ByVal Authentication As Long ) As Long

Parameters

card
The identifier of the selected card.
Authentication
Authentication type (possible values are: PR_TERMINAL_AUTH or PR_PASSIVE_AUTH).

Return Values

The certificate identifier which can be feed to a GxVariantOCX control.

Languages

[Visual Basic] Public Function GetCertificateId(ByVal card As String, ByVal Authentication As Long) As Long

[Delphi] function GetCertificateId(const card: WideString; Authentication: Integer): Integer;

[C++] long GetCertificateId(BSTR card, long Authentication);

Remarks

See Also

Class PrApi Overview PrApi Properties PrApi Methods GetBarcode GetDevice