PrApi: DoAuthentication

DoAuthentication

Making authentication process.

 Public Function DoAuthentication(
	  ByVal card As String,
	  ByVal Authentication As Long,
	  ByRef auth_data As String,
	  ByVal password_type As Long ) As Boolean

Parameters

card
The identifier of the selected card.
Authentication
The authentication process id. The possible values are defined in the PR_AUTH_PROC enumeration.
auth_data
Data for authentication.
password_type
In case of PACE, it is the password type.

Return Values

On error false is returned and the error code and string of the control is set appropriately.

Languages

[Visual Basic] Public Function DoAuthentication(ByVal card As String, ByVal authentication As Long, ByRef auth_data As String, ByVal password_type As Long) As Boolean

[Delphi] function DoAuthentication(const card: WideString; authentication: Integer; var auth_data: WideString; password_type: Integer): Boolean;

[C++] bool DoAuthentication(BSTR card, long authentication, BSTR * auth_data, long password_type);

Remarks

See Also

Class PrApi Overview PrApi Properties PrApi Methods DisconnectRfidCard EventTypes