OnGetNotaryInfo

Declaration

Delphi

procedure OnGetNotaryInfo(out NotaryInfo: OleVariant);

ActiveX

HRESULT OnGetNotaryInfo([out] VARIANT* Certificate);


Description

This function should read the notary info from the device driver and return it to the API.

Use Signapi with date 17.10.2024 or later (V4.14)

Samples:

C#
void axSignApi4_OnGetNotaryInfo(object sender, IStepOverSignatureAPIv4Events_OnGetNotaryInfoEvent e)
{
    e.notaryInfo = SigDev.GetDeviceNotaryInfo();
}
VB.net
Private Sub signapi4_OnGetNotaryInfo(ByVal NotaryInfo As Object)
        Certificate = mSignaturDevice.GetDeviceNotaryInfo()
End Sub
Delphi
procedure TForm1.SignApiGetNotaryInfo(Sender: TObject; out NotaryInfo: OleVariant);
begin 
	Certificate := StepOverSignatureDevice1.GetDeviceNotaryInfo;
end;
VB6
Private Sub signapi4_OnGetNotaryInfo(NotaryInfo As Variant)
    Certificate = sigdev.GetDeviceNotaryInfo()
End Sub





Â